Skip to content

Commit

Permalink
Fixes process proposal fee token
Browse files Browse the repository at this point in the history
  • Loading branch information
grarco authored and bengtlofgren committed May 11, 2023
1 parent 8e35461 commit 2db65d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/src/lib/node/ledger/shell/process_proposal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,10 @@ where
masp()
};
// check that the fee payer has sufficient balance
let balance =
self.get_balance(&tx.fee.token, &fee_payer);
let balance = self.get_balance(
&self.storage.native_token,
&fee_payer,
);

if Amount::from(100) <= balance {
TxResult {
Expand Down

0 comments on commit 2db65d0

Please sign in to comment.