aboutsummaryrefslogtreecommitdiffstats
path: root/light/txpool_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'light/txpool_test.go')
-rw-r--r--light/txpool_test.go2
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 (