From 9834f855faec1b80f78722db11e5a883d83ff05c Mon Sep 17 00:00:00 2001 From: Gustav Simonsson Date: Wed, 22 Apr 2015 15:21:02 +0200 Subject: [PATCH] Finally, glorious HEX --- tests/block_test_util.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/block_test_util.go b/tests/block_test_util.go index ed2a9fca24..df651d24eb 100644 --- a/tests/block_test_util.go +++ b/tests/block_test_util.go @@ -226,10 +226,10 @@ func mustConvertHeader(in btHeader) *types.Header { UncleHash: mustConvertHash(in.UncleHash), ParentHash: mustConvertHash(in.ParentHash), Extra: mustConvertBytes(in.ExtraData), - GasUsed: mustConvertBigInt(in.GasUsed, 10), - GasLimit: mustConvertBigInt(in.GasLimit, 10), - Difficulty: mustConvertBigInt(in.Difficulty, 10), - Time: mustConvertUint(in.Timestamp, 10), + GasUsed: mustConvertBigInt(in.GasUsed, 16), + GasLimit: mustConvertBigInt(in.GasLimit, 16), + Difficulty: mustConvertBigInt(in.Difficulty, 16), + Time: mustConvertUint(in.Timestamp, 16), } // XXX cheats? :-) header.SetNonce(mustConvertUint(in.Nonce, 16))