You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'RPC method \'{}\' does not have a docstring.'.format(
method.name
)
)
doc="Undocumented RPC method from a plugin."
doc=re.sub('\n+', ' ', doc)
# For compatibility with lightningd prior to 24.08, we must
# provide a description. Ignored by 24.08 onwards,
description=method.description
ifdescriptionisNone:
description=""
methods.append({
'name': method.name,
'usage': method.get_usage(),
'description': description,
})
.
Additionally, when I use the plugin and run the lightning-cli help command, I get the following output for the funds plugin:
funds [unit] \\nLists the total funds the lightning node owns off- and on-chain in {unit}.\\n{unit} can take the following values:\\ns, satoshi, satoshis to represent satoshis\\nb, bit, bits to represent bits\\nm, milli, btc to represent milliBitcoin\\nB, bitcoin, btc to represent Bitcoins\\nWhen not using Satoshis (default), the values are rounded off.
Originally posted by @NishantBansal2003 in #2216
The text was updated successfully, but these errors were encountered: