Skip to content

Commit

Permalink
near max repay fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xieqian committed Feb 6, 2024
1 parent c061025 commit 495080a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/actions/repay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export async function repay({
functionCalls.push({
methodName: ChangeMethodsNearToken[ChangeMethodsNearToken.near_deposit],
gas: new BN("100000000000000"),
attachedDeposit: new BN(toWrapAmount.toFixed(0)),
attachedDeposit: new BN(toWrapAmount.toFixed(0, 2)),
});
}
let msg;
Expand Down

0 comments on commit 495080a

Please sign in to comment.