Skip to content

Commit

Permalink
Fix sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
SvineruS committed Aug 4, 2023
1 parent 1c5a92f commit 0af52b3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/multisig/methods/staking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,8 @@ export async function rewardsBanksWithdrawBonds(
addressTo: string,
amount: BigNumberish
) {
const airBond = contracts.getContractByName(ContractNames.AirBond) as AirBond;
return await submitTransaction2<RewardsBank>(contracts, contractName, 0, (rewardsBank) =>
rewardsBank.withdrawErc20(airBond.address, addressTo, amount)
rewardsBank.withdrawBonds(addressTo, amount)
);
}

Expand Down

0 comments on commit 0af52b3

Please sign in to comment.