diff options
author | Felix Lange <fjl@twurst.com> | 2017-01-05 19:59:17 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2017-01-05 19:59:17 +0800 |
commit | e171bf74f8b6d15c2ae51e259d703ee5b729a298 (patch) | |
tree | b7924c1c57d69d433cb8c6645d0b2e57743daeee /eth/fetcher | |
parent | bbc4ea4ae8e8a962deae3d5693d9d4a9376eab88 (diff) | |
download | dexon-e171bf74f8b6d15c2ae51e259d703ee5b729a298.tar.gz dexon-e171bf74f8b6d15c2ae51e259d703ee5b729a298.tar.zst dexon-e171bf74f8b6d15c2ae51e259d703ee5b729a298.zip |
core/types: remove redundant SignECDSA wrappers, rename to SignTx
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 426bfd542..2e28541ab 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.NewTransaction(block.TxNonce(testAddress), common.Address{seed}, big.NewInt(1000), params.TxGas, nil, nil).SignECDSA(signer, testKey) + tx, err := types.SignTx(types.NewTransaction(block.TxNonce(testAddress), common.Address{seed}, big.NewInt(1000), params.TxGas, nil, nil), signer, testKey) if err != nil { panic(err) } |