1
0

set timestamps on startup

This commit is contained in:
thomasv
2012-11-05 10:26:28 +01:00
parent 32d0f6ed27
commit 73dc533e79
3 changed files with 13 additions and 2 deletions

View File

@@ -347,7 +347,7 @@ class WalletVerifier(threading.Thread):
def get_timestamp(self, tx_height):
if tx_height>0:
header = self.read_header(tx_height)
timestamp = header.get('timestamp')
timestamp = header.get('timestamp') if header else 0
else:
timestamp = 1e12
return timestamp