fix yet another instance of fee fields at height 0 (#538)

This commit is contained in:
John Tromp 2021-03-01 15:29:55 +01:00 committed by GitHub
parent 42a2ee0302
commit a4c82b99d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;