diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-02-15 00:59:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-15 00:59:00 +0800 |
commit | a973d1d5233bbd36cbaed0b7235311d4cd529580 (patch) | |
tree | 61ed1bd31a9c2a2e6a052a122a737deaee70c6cb /eth/fetcher | |
parent | 15a609d5d6613e37e819975ceba01cb5ba735242 (diff) | |
parent | c12f4df910e2da1cc5dd28c5c4bbe2d8721e1057 (diff) | |
download | dexon-a973d1d5233bbd36cbaed0b7235311d4cd529580.tar dexon-a973d1d5233bbd36cbaed0b7235311d4cd529580.tar.gz dexon-a973d1d5233bbd36cbaed0b7235311d4cd529580.tar.bz2 dexon-a973d1d5233bbd36cbaed0b7235311d4cd529580.tar.lz dexon-a973d1d5233bbd36cbaed0b7235311d4cd529580.tar.xz dexon-a973d1d5233bbd36cbaed0b7235311d4cd529580.tar.zst dexon-a973d1d5233bbd36cbaed0b7235311d4cd529580.zip |
Merge pull request #3674 from obscuren/gaz64
params: core, core/vm, miner: 64bit gas instructions
Diffstat (limited to 'eth/fetcher')
-rw-r--r-- | eth/fetcher/fetcher_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/fetcher/fetcher_test.go b/eth/fetcher/fetcher_test.go index 2e28541ab..7a94241c6 100644 --- a/eth/fetcher/fetcher_test.go +++ b/eth/fetcher/fetcher_test.go @@ -51,7 +51,7 @@ func makeChain(n int, seed byte, parent *types.Block) ([]common.Hash, map[common // If the block number is multiple of 3, send a bonus transaction to the miner if parent == genesis && i%3 == 0 { signer := types.MakeSigner(params.TestChainConfig, block.Number()) - tx, err := types.SignTx(types.NewTransaction(block.TxNonce(testAddress), common.Address{seed}, big.NewInt(1000), params.TxGas, nil, nil), signer, testKey) + tx, err := types.SignTx(types.NewTransaction(block.TxNonce(testAddress), common.Address{seed}, big.NewInt(1000), new(big.Int).SetUint64(params.TxGas), nil, nil), signer, testKey) if err != nil { panic(err) } |