diff --git a/jmclient/jmclient/wallet_service.py b/jmclient/jmclient/wallet_service.py index e440484e5..6be395b83 100644 --- a/jmclient/jmclient/wallet_service.py +++ b/jmclient/jmclient/wallet_service.py @@ -335,7 +335,7 @@ def sync_wallet(self, fast=True): # before startup self.old_txs = [x['txid'] for x in self.bci.list_transactions(100) if "txid" in x] - if self.bci.__class__ == BitcoinCoreNoHistoryInterface: + if isinstance(self.bci, BitcoinCoreNoHistoryInterface): self.bci.set_wallet_no_history(self.wallet) return self.synced