Skip to content

Commit

Permalink
chore: stakedBalance id fixed (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anurupa03 authored Dec 5, 2023
1 parent c7ee15e commit 7fc7bf7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public void cancelUnstake(BigInteger _value) {

Map<String, BigInteger> userBalances = this.details_balanceOf(user);
BigInteger unstakingBalance = userBalances.get("unstakingBalance");
BigInteger userOldStake = userBalances.get("'stakedBalance'");
BigInteger userOldStake = userBalances.get("stakedBalance");

if (_value.compareTo(unstakingBalance) > 0) {
throw OMMTokenException.insufficientBalance(
Expand Down

0 comments on commit 7fc7bf7

Please sign in to comment.