specify Returns correctly for docs gen
This commit is contained in:
parent
ccb250b410
commit
2de728d60a
1 changed files with 6 additions and 1 deletions
|
@ -2808,7 +2808,12 @@ class Daemon(metaclass=JSONRPCServerType):
|
||||||
for channel certificates, defaults to all accounts.
|
for channel certificates, defaults to all accounts.
|
||||||
--wallet_id=<wallet_id> : (str) restrict operation to specific wallet
|
--wallet_id=<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)
|
wallet = self.wallet_manager.get_wallet_or_default(wallet_id)
|
||||||
assert not wallet.is_locked, "Cannot spend funds with locked wallet, unlock first."
|
assert not wallet.is_locked, "Cannot spend funds with locked wallet, unlock first."
|
||||||
|
|
Loading…
Add table
Reference in a new issue