Skip to content

Commit

Permalink
fix assertion error in deposit card (#2426)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xShuk authored Aug 28, 2024
1 parent ef5e017 commit 4271031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VoteStakeRegistry/components/Account/DepositCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ const DepositCard = ({
value={(deposit.votingPower.isZero() ||
deposit.votingPowerBaseline.isZero()
?
registrar ?
registrar && deposit.amountDepositedNative.gt(new BN(0)) ?
deposit.votingPower.mul(new BN(100)).div(
deposit.amountDepositedNative.mul(
new BN(10).pow(
Expand Down

0 comments on commit 4271031

Please sign in to comment.