Skip to content

Commit 3551a4e

Browse files
hugomrdiasrvagg
andcommitted
fix: keep the clone to new provider ids array
Co-authored-by: Rod Vagg <rod@vagg.org>
1 parent 4e20552 commit 3551a4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/synapse-sdk/src/storage/context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ export class StorageContext {
576576
// Inline ping-retry loop: select a candidate from core, ping it,
577577
// exclude on failure, re-select. One outer iteration per copy needed.
578578
const results: ProviderSelectionResult[] = []
579-
const excludeProviderIds = options.excludeProviderIds
579+
const excludeProviderIds = [...options.excludeProviderIds]
580580

581581
for (let i = 0; i < count; i++) {
582582
const endorsedSlot = requireEndorsedPrimary && i === 0

0 commit comments

Comments
 (0)