Skip to content

Commit

Permalink
Fixes fee in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grarco committed Jan 24, 2023
1 parent cb94c91 commit c030da0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/src/lib/node/ledger/shell/process_proposal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ mod test_process_proposal {
shell
.wl_storage
.storage
.write(&balance_key, Amount::from(1000).try_to_vec().unwrap())
.write(&balance_key, Amount::whole(1000).try_to_vec().unwrap())
.unwrap();

let tx = Tx::new(
Expand Down Expand Up @@ -1053,7 +1053,7 @@ mod test_process_proposal {
shell
.wl_storage
.storage
.write(&balance_key, Amount::from(1000).try_to_vec().unwrap())
.write(&balance_key, Amount::whole(1000).try_to_vec().unwrap())
.unwrap();

// Add unshielded balance for fee payment
Expand All @@ -1064,7 +1064,7 @@ mod test_process_proposal {
shell
.wl_storage
.storage
.write(&balance_key, Amount::from(1000).try_to_vec().unwrap())
.write(&balance_key, Amount::whole(1000).try_to_vec().unwrap())
.unwrap();

let tx = Tx::new(
Expand Down

0 comments on commit c030da0

Please sign in to comment.