Skip to content

Commit f5ecca4

Browse files
committed
moved requests instant for imageHashOfCounterfactualWallet
1 parent 48aa93c commit f5ecca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sessions/src/trackers/multiple.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ export class MultipleTracker implements migrator.PresignedMigrationTracker, Conf
100100
wallet: string
101101
}): Promise<{ imageHash: string; context: commons.context.WalletContext } | undefined> {
102102
let imageHash: { imageHash: string; context: commons.context.WalletContext } | undefined
103-
const requests = this.trackers.map(t => t.imageHashOfCounterfactualWallet(args))
104103

105104
if (this.isSerial) {
106105
for (const tracker of this.trackers) {
@@ -111,6 +110,7 @@ export class MultipleTracker implements migrator.PresignedMigrationTracker, Conf
111110
}
112111
}
113112
} else {
113+
const requests = this.trackers.map(t => t.imageHashOfCounterfactualWallet(args))
114114
imageHash = await raceUntil(requests, undefined, result => Boolean(result))
115115
}
116116

0 commit comments

Comments
 (0)