1
0

solve deadlock during restore

This commit is contained in:
ThomasV
2012-11-04 20:53:27 +01:00
parent 5bb441ce37
commit 39a85767a3
4 changed files with 28 additions and 24 deletions

View File

@@ -344,3 +344,11 @@ class WalletVerifier(threading.Thread):
new_bits = c + MM * i
return new_bits, new_target
def get_timestamp(self, tx_height):
if tx_height>0:
header = self.read_header(tx_height)
timestamp = header.get('timestamp')
else:
timestamp = 1e12
return timestamp