diff --git a/lib/wallet.py b/lib/wallet.py index c649686eb..756bd4b31 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -783,7 +783,7 @@ class Wallet: # synchronous h = self.send_tx(tx) self.tx_event.wait() - self.receive_tx(h) + return self.receive_tx(h) def send_tx(self, tx): # asynchronous