We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2fb8f0 commit bd775a2Copy full SHA for bd775a2
src/cryptoadvance/specter/node.py
@@ -397,7 +397,12 @@ def abortrescanutxo(self):
397
self.utxorescanwallet = None
398
399
def check_blockheight(self):
400
- return self.info["blocks"] != self.rpc.getblockcount()
+ if not self.rpc:
401
+ # if the rpc interface cannot be found, then specter should check the rpc interface.
402
+ # Checking the rpc interface with self.node.update_rpc() in specter.check() is done
403
+ # if we return True here
404
+ return True
405
+ return self.info.get("blocks") != self.rpc.getblockcount()
406
407
def is_liquid(self):
408
return is_liquid(self.chain)
0 commit comments