diff --git a/lib/wallet.py b/lib/wallet.py index b836394ad..e38901e8e 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -341,7 +341,7 @@ class Abstract_Wallet(PrintError): def is_change(self, address): if not self.is_mine(address): return False - return address in self.change_addresses + return self.get_address_index(address)[0] def get_address_index(self, address): if hasattr(self, '_addr_to_addr_index'):