Use UTC in timestamps and fix broken header test (#105)
* Fix block header timestamp UTC and fix test * Always use UTC for timestamp as time::Tm
This commit is contained in:
committed by
Ignotus Peverell
parent
3bf06ecd6a
commit
9c649edfbf
+1
-1
@@ -46,7 +46,7 @@ impl PoolEntry {
|
||||
PoolEntry{
|
||||
transaction_hash: transaction_identifier(tx),
|
||||
size_estimate : estimate_transaction_size(tx),
|
||||
receive_ts: time::now()}
|
||||
receive_ts: time::now_utc()}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user