Browse Source

commands: Remove unused requested_amount and fix a typo (#8090)

master
Joel Lehtonen OH64K 3 years ago committed by GitHub
parent
commit
cdc1660d47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      electrum/commands.py

3
electrum/commands.py

@ -1248,7 +1248,7 @@ class Commands:
async def rebalance_channels(self, from_scid, dest_scid, amount, wallet: Abstract_Wallet = None): async def rebalance_channels(self, from_scid, dest_scid, amount, wallet: Abstract_Wallet = None):
""" """
Rebalance channels. Rebalance channels.
If trampoline is used, channels must be with diferent trampolines. If trampoline is used, channels must be with different trampolines.
""" """
from .lnutil import ShortChannelID from .lnutil import ShortChannelID
from_scid = ShortChannelID.from_str(from_scid) from_scid = ShortChannelID.from_str(from_scid)
@ -1345,7 +1345,6 @@ param_descriptions = {
'message': 'Clear text message. Use quotes if it contains spaces.', 'message': 'Clear text message. Use quotes if it contains spaces.',
'encrypted': 'Encrypted message', 'encrypted': 'Encrypted message',
'amount': 'Amount to be sent (in BTC). Type \'!\' to send the maximum available.', 'amount': 'Amount to be sent (in BTC). Type \'!\' to send the maximum available.',
'requested_amount': 'Requested amount (in BTC).',
'outputs': 'list of ["address", amount]', 'outputs': 'list of ["address", amount]',
'redeem_script': 'redeem script (hexadecimal)', 'redeem_script': 'redeem script (hexadecimal)',
'lightning_amount': "Amount sent or received in a submarine swap. Set it to 'dryrun' to receive a value", 'lightning_amount': "Amount sent or received in a submarine swap. Set it to 'dryrun' to receive a value",

Loading…
Cancel
Save