From a45f8d3e9f7603bf3b457ab349de8a021ee6d15b Mon Sep 17 00:00:00 2001 From: Gary Yu Date: Tue, 21 May 2019 17:00:19 +0800 Subject: [PATCH] fix: invoice transaction pay need update the slate height (#115) --- libwallet/src/api_impl/owner.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libwallet/src/api_impl/owner.rs b/libwallet/src/api_impl/owner.rs index fbb6358..1f1b94f 100644 --- a/libwallet/src/api_impl/owner.rs +++ b/libwallet/src/api_impl/owner.rs @@ -308,6 +308,9 @@ where None => None, }; + // update slate current height + ret_slate.height = w.w2n_client().get_chain_height()?; + let context = tx::add_inputs_to_slate( &mut *w, &mut ret_slate,