diff --git a/lib/wallet.py b/lib/wallet.py index c2db3e83d..215cc645f 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -1560,7 +1560,7 @@ class Standard_Wallet(Deterministic_Wallet, P2PK_Wallet): self.keystore.delete_imported_key(pubkey) self.save_keystore() self.receiving_pubkeys.remove(pubkey) - self.receiving_addresses.remove(addr) + self.receiving_addresses.remove(address) self.storage.write() def can_import_privkey(self):