Skip to content

Commit

Permalink
fix yet another instance of fee fields at height 0 (#538)
Browse files Browse the repository at this point in the history
  • Loading branch information
tromp authored Mar 1, 2021
1 parent 42a2ee0 commit a4c82b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libwallet/src/api_impl/owner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ where
Some(tx) => {
let mut slate = Slate::blank(2, false);
slate.tx = Some(tx.clone());
slate.fee_fields = tx.aggregate_fee_fields(0).unwrap();
slate.fee_fields = tx.aggregate_fee_fields(2 * YEAR_HEIGHT).unwrap(); // apply fee mask past HF4
slate.id = id.clone();
slate.offset = tx.offset;
slate.state = SlateState::Standard3;
Expand Down

0 comments on commit a4c82b9

Please sign in to comment.