From cbc76adcaac2df9dc3fd4bbd3455571f818edc36 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Thu, 11 Mar 2021 16:42:33 -0500 Subject: [PATCH] only return unspent txos if is_spent flag is not used. fixes #2923 --- 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 43cfb30bb6..22f9442230 100644 --- a/lbry/extras/daemon/daemon.py +++ b/lbry/extras/daemon/daemon.py @@ -2862,7 +2862,7 @@ def jsonrpc_channel_list(self, *args, **kwargs): Returns: {Paginated[Output]} """ kwargs['type'] = 'channel' - if 'is_spent' not in kwargs: + if 'is_spent' not in kwargs or not kwargs['is_spent']: kwargs['is_not_spent'] = True return self.jsonrpc_txo_list(*args, **kwargs)