From 962d04ae17761d88a48ad967a1c073a5c64491ac Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Wed, 1 Apr 2020 21:03:56 -0400 Subject: [PATCH] fix txo_spend --- lbry/extras/daemon/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbry/extras/daemon/daemon.py b/lbry/extras/daemon/daemon.py index 77123daa7..cd65af76c 100644 --- a/lbry/extras/daemon/daemon.py +++ b/lbry/extras/daemon/daemon.py @@ -4333,7 +4333,7 @@ class Daemon(metaclass=JSONRPCServerType): accounts = [wallet.get_account_or_error(account_id)] if account_id else wallet.accounts txos = await self.ledger.get_txos( wallet=wallet, accounts=accounts, read_only=True, - **self._constrain_txo_from_kwargs({}, is_spent=False, is_my_output=True, **kwargs) + **self._constrain_txo_from_kwargs({}, is_not_spent=True, is_my_output=True, **kwargs) ) txs = [] while txos: