electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 06b0669251aad10f4d15f819b2575ee441eabce8
parent 1321b0e47abbebedf32f5335e563311085fd173e
Author: SomberNight <somber.night@protonmail.com>
Date:   Sun, 21 Jun 2020 05:17:56 +0200

lnworker: rm dead code

Diffstat:
Melectrum/lnworker.py | 8--------
1 file changed, 0 insertions(+), 8 deletions(-)

diff --git a/electrum/lnworker.py b/electrum/lnworker.py @@ -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():