diff --git a/libwallet/src/api_impl/owner.rs b/libwallet/src/api_impl/owner.rs index 58bfbd2..0f2f46b 100644 --- a/libwallet/src/api_impl/owner.rs +++ b/libwallet/src/api_impl/owner.rs @@ -446,8 +446,8 @@ where "Transaction ID or Slate UUID must be specified".to_owned(), )); } - if refresh_from_node { - update_wallet_state( + let refresh_txs_from_node = if refresh_from_node { + !update_wallet_state( wallet_inst.clone(), keychain_mask, status_send_channel, @@ -460,7 +460,7 @@ where wallet_inst.clone(), keychain_mask, status_send_channel, - refresh_from_node, + refresh_txs_from_node, tx_id, tx_slate_id, None,