Skip to content

Commit

Permalink
long BDM process recovery quick fix on Python side
Browse files Browse the repository at this point in the history
  • Loading branch information
goatpig committed Mar 1, 2014
1 parent b67f50a commit 20dbd43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions armoryengine/PyBtcWallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,12 +301,12 @@ def syncWithBlockchainLite(self, startBlk=None):

if not self.doBlockchainSync==BLOCKCHAIN_DONOTUSE:
if startBlk==None:
startBlk = self.lastSyncBlockNum + 1
if self.lastSyncBlockNum is not None:
startBlk = self.lastSyncBlockNum + 1

# calledFromBDM means that ultimately the BDM itself called this
# method and is blocking waiting for it. So we can't use the
# BDM-thread queue, must call its methods directly
if startBlk == None: startBlk = self.lastSyncBlockNum

if self.calledFromBDM:
TheBDM.scanRegisteredTxForWallet_bdm_direct(self.cppWallet, startBlk)
Expand Down

0 comments on commit 20dbd43

Please sign in to comment.