diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-06 00:57:03 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-06 00:59:18 +0800 |
commit | 9c55576c7b415954773c062d404a736741fb9794 (patch) | |
tree | 5c79551e6ad55d88c02fbe3374ebc9738b863f8d /tests/blocktest.go | |
parent | 3040296beb3a8ca991b738a83df0af7bddde2ac6 (diff) | |
download | go-tangerine-9c55576c7b415954773c062d404a736741fb9794.tar go-tangerine-9c55576c7b415954773c062d404a736741fb9794.tar.gz go-tangerine-9c55576c7b415954773c062d404a736741fb9794.tar.bz2 go-tangerine-9c55576c7b415954773c062d404a736741fb9794.tar.lz go-tangerine-9c55576c7b415954773c062d404a736741fb9794.tar.xz go-tangerine-9c55576c7b415954773c062d404a736741fb9794.tar.zst go-tangerine-9c55576c7b415954773c062d404a736741fb9794.zip |
Block header changed & console miner control
* miner control moved to `admin.miner`
* miner option to set extra data
* block extra now bytes
Diffstat (limited to 'tests/blocktest.go')
-rw-r--r-- | tests/blocktest.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/blocktest.go b/tests/blocktest.go index 1c4f1c2f2..6b8ee9d4a 100644 --- a/tests/blocktest.go +++ b/tests/blocktest.go @@ -186,7 +186,7 @@ func mustConvertHeader(in btHeader) *types.Header { Coinbase: mustConvertAddress(in.Coinbase), UncleHash: mustConvertHash(in.UncleHash), ParentHash: mustConvertHash(in.ParentHash), - Extra: string(mustConvertBytes(in.ExtraData)), + Extra: mustConvertBytes(in.ExtraData), GasUsed: mustConvertBigInt10(in.GasUsed), GasLimit: mustConvertBigInt10(in.GasLimit), Difficulty: mustConvertBigInt10(in.Difficulty), |