Browse Source

remove double definition of lightning_history. fixes #5984

hard-fail-on-bad-server-string
ThomasV 5 years ago
parent
commit
67d0e780b3
  1. 4
      electrum/commands.py

4
electrum/commands.py

@ -992,10 +992,6 @@ class Commands:
async def list_invoices(self, wallet: Abstract_Wallet = None): async def list_invoices(self, wallet: Abstract_Wallet = None):
return wallet.get_invoices() return wallet.get_invoices()
@command('w')
async def lightning_history(self, wallet: Abstract_Wallet = None):
return wallet.lnworker.get_history()
@command('wn') @command('wn')
async def close_channel(self, channel_point, force=False, wallet: Abstract_Wallet = None): async def close_channel(self, channel_point, force=False, wallet: Abstract_Wallet = None):
txid, index = channel_point.split(':') txid, index = channel_point.split(':')

Loading…
Cancel
Save