diff options
Diffstat (limited to 'light/txpool_test.go')
-rw-r--r-- | light/txpool_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/light/txpool_test.go b/light/txpool_test.go index f3eb7980d..e5a4670aa 100644 --- a/light/txpool_test.go +++ b/light/txpool_test.go @@ -75,8 +75,8 @@ 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) + for i := range testTx { + testTx[i], _ = types.SignTx(types.NewTransaction(uint64(i), acc1Addr, big.NewInt(10000), params.TxGas, nil, nil), types.HomesteadSigner{}, testBankKey) } var ( |