From 48aec83d76cf3472e13558bf87e3c8cfc570228c Mon Sep 17 00:00:00 2001 From: Matt Whitlock Date: Sat, 4 Nov 2023 19:12:49 -0400 Subject: [PATCH] wallet: remove a dead store in get_index_cache_and_increment --- src/jmclient/wallet.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/jmclient/wallet.py b/src/jmclient/wallet.py index 094a326..123686f 100644 --- a/src/jmclient/wallet.py +++ b/src/jmclient/wallet.py @@ -2233,7 +2233,6 @@ class BIP32Wallet(BaseWallet): self._index_cache[mixdepth][address_type] = index def get_index_cache_and_increment(self, mixdepth, address_type): - index = self._index_cache[mixdepth][address_type] cur_index = self._index_cache[mixdepth][address_type] self._set_index_cache(mixdepth, address_type, cur_index + 1) return cur_index