From f6cfe266e0a72fc4cfdaab8b96328ba243ab7ea2 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Thu, 28 Jan 2021 18:20:04 -0300 Subject: [PATCH] specify Returns correctly for docs gen --- lbry/extras/daemon/daemon.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lbry/extras/daemon/daemon.py b/lbry/extras/daemon/daemon.py index c83d1462b..ace104366 100644 --- a/lbry/extras/daemon/daemon.py +++ b/lbry/extras/daemon/daemon.py @@ -2808,7 +2808,12 @@ class Daemon(metaclass=JSONRPCServerType): for channel certificates, defaults to all accounts. --wallet_id= : (str) restrict operation to specific wallet - Returns: {} + Returns: + (dict) Signature if successfully made, (None) or an error otherwise + { + "signature": (str) The signature of the comment, + "signing_ts": (str) The timestamp used to sign the comment, + } """ wallet = self.wallet_manager.get_wallet_or_default(wallet_id) assert not wallet.is_locked, "Cannot spend funds with locked wallet, unlock first."