From a4c82b99d21aee5d7c958b4204fa87d2cf2eb137 Mon Sep 17 00:00:00 2001 From: John Tromp Date: Mon, 1 Mar 2021 15:29:55 +0100 Subject: [PATCH] fix yet another instance of fee fields at height 0 (#538) --- libwallet/src/api_impl/owner.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libwallet/src/api_impl/owner.rs b/libwallet/src/api_impl/owner.rs index 282591c9..89f1dae9 100644 --- a/libwallet/src/api_impl/owner.rs +++ b/libwallet/src/api_impl/owner.rs @@ -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;