1
0

use None as timestamp for pending transactions

This commit is contained in:
thomasv
2012-11-16 10:18:35 +01:00
parent b39f1424ec
commit 8ec2b16e21
3 changed files with 11 additions and 13 deletions

View File

@@ -361,8 +361,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') if header else 0
else:
timestamp = 1e12
return timestamp
if header:
return header.get('timestamp')