diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-01-06 21:55:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-06 21:55:55 +0800 |
commit | 59b8245bbced3c0511623ecaa8b7d4e0434343cd (patch) | |
tree | f3965293859731b4bc3a588cb152b87c4790e27d /light/txpool_test.go | |
parent | 8f9daaa3ba71c3b6bdcc24adfdc987e6f3a2e184 (diff) | |
parent | e171bf74f8b6d15c2ae51e259d703ee5b729a298 (diff) | |
download | dexon-59b8245bbced3c0511623ecaa8b7d4e0434343cd.tar.gz dexon-59b8245bbced3c0511623ecaa8b7d4e0434343cd.tar.zst dexon-59b8245bbced3c0511623ecaa8b7d4e0434343cd.zip |
Merge pull request #3516 from fjl/types-drop-sign-ecdsa
core/types: remove redundant SignECDSA wrappers, rename to SignTx
Diffstat (limited to 'light/txpool_test.go')
-rw-r--r-- | light/txpool_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/light/txpool_test.go b/light/txpool_test.go index 759b6b8ab..61d7c1c49 100644 --- a/light/txpool_test.go +++ b/light/txpool_test.go @@ -74,7 +74,7 @@ func txPoolTestChainGen(i int, block *core.BlockGen) { func TestTxPool(t *testing.T) { for i, _ := range testTx { - testTx[i], _ = types.NewTransaction(uint64(i), acc1Addr, big.NewInt(10000), params.TxGas, nil, nil).SignECDSA(types.HomesteadSigner{}, testBankKey) + testTx[i], _ = types.SignTx(types.NewTransaction(uint64(i), acc1Addr, big.NewInt(10000), params.TxGas, nil, nil), types.HomesteadSigner{}, testBankKey) } var ( |