Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
undo changes to index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrower95 committed Aug 6, 2023
1 parent f56a4b2 commit e09bf8b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -814,23 +814,19 @@ export async function computeMPCWallet(
pollInterval
);

console.log(`Got ${pendingDeviceGroup.length} pending device groups`)
for (let i = pendingDeviceGroup.length - 1; i >= 0; i--) {
const deviceGroupOperation = pendingDeviceGroup[i];
console.log(deviceGroupOperation);

await computeMPCOperation(deviceGroupOperation?.MPCData as string);
}

console.log("Polling for device archives...")
const pendingDeviceArchiveOperations = await pollForPendingDeviceArchives(
deviceGroup,
pollInterval
);
console.log(`Got ${pendingDeviceArchiveOperations.length} pending device archives`)

for (let i = pendingDeviceArchiveOperations.length - 1; i >= 0; i--) {
const pendingOperation = pendingDeviceArchiveOperations[i];
console.log(pendingOperation)
await computePrepareDeviceArchiveMPCOperation(
pendingOperation!.MPCData,
passcode
Expand Down

0 comments on commit e09bf8b

Please sign in to comment.