diff --git a/lbrynet/core/Wallet.py b/lbrynet/core/Wallet.py index adc01bd97..4d6a7ea3f 100644 --- a/lbrynet/core/Wallet.py +++ b/lbrynet/core/Wallet.py @@ -623,6 +623,9 @@ class Wallet(object): d = self._get_transaction(txid) return d + def wait_for_tx_in_wallet(self, txid): + return self._wait_for_tx_in_wallet(txid) + def get_balance(self): return self.wallet_balance - self.total_reserved_points - sum(self.queued_payments.values()) @@ -681,6 +684,9 @@ class Wallet(object): def _get_transaction(self, txid): return defer.fail(NotImplementedError()) + def _wait_for_tx_in_wallet(self, txid): + return defer.fail(NotImplementedError()) + def _update_balance(self): return defer.fail(NotImplementedError()) @@ -1067,6 +1073,9 @@ class LBRYumWallet(Wallet): def _get_transaction(self, txid): return self._run_cmd_as_defer_to_thread("gettransaction", txid) + def _wait_for_tx_in_wallet(self, txid): + return self._run_cmd_as_defer_to_thread("waitfortxinwallet", txid) + def get_name_claims(self): return self._run_cmd_as_defer_succeed('getnameclaims')