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:
Seamus Finnigan
2017-08-26 16:31:27 +00:00
committed by Ignotus Peverell
parent 3bf06ecd6a
commit 9c649edfbf
4 changed files with 5 additions and 9 deletions
+1 -1
View File
@@ -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()}
}
}