Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
Refactor migration unstake arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
snoopy1412 committed Sep 29, 2024
1 parent 5e593e8 commit 81c58ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/migration/migration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function MigrationModal({ isOpen, maskClosable = true, onClose = () => un
address: contract.staking.address,
abi: (await import(`@/config/abi/${contract.staking.abiFile}`)).default,
functionName: "unstake",
args: [stakedRing, stakedDeposits],
args: [stakedRing || 0n, stakedDeposits || []],
});

const receipt = await waitForTransaction({ hash });
Expand Down

0 comments on commit 81c58ab

Please sign in to comment.