Skip to content

Commit

Permalink
Staking: fix withdraw value
Browse files Browse the repository at this point in the history
  • Loading branch information
apporc committed Sep 11, 2024
1 parent 9196974 commit fab1a81
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ export class WithdrawState {
})
);
}
if (this.withdrawable) {
if (this.total) {
actions.push(
this.network.contracts.system.action('withdraw', {
owner: this.account.name,
amount: this.withdrawable
amount: this.total
})
);
}
Expand Down

0 comments on commit fab1a81

Please sign in to comment.