mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 00:41:31 +00:00
lnworker: rm dead code
This commit is contained in:
parent
1321b0e47a
commit
06b0669251
1 changed files with 0 additions and 8 deletions
|
@ -692,14 +692,6 @@ class LNWallet(LNWorker):
|
|||
item['balance_msat'] = balance_msat
|
||||
return out
|
||||
|
||||
def get_and_inc_counter_for_channel_keys(self):
|
||||
with self.lock:
|
||||
ctr = self.db.get('lightning_channel_key_der_ctr', -1)
|
||||
ctr += 1
|
||||
self.db.put('lightning_channel_key_der_ctr', ctr)
|
||||
self.wallet.save_db()
|
||||
return ctr
|
||||
|
||||
def suggest_peer(self):
|
||||
r = []
|
||||
for node_id, peer in self.peers.items():
|
||||
|
|
Loading…
Add table
Reference in a new issue