mirror of https://github.com/poanetwork/quorum.git
Merge pull request #581 from trung/fix-tx_pool_test
Fix method signature for txpool test.
This commit is contained in:
commit
8c4aea54d1
|
@ -279,7 +279,7 @@ func TestInvalidTransactions(t *testing.T) {
|
|||
}
|
||||
|
||||
data := make([]byte, (64*1024)+1)
|
||||
tx2, _ := types.SignTx(types.NewTransaction(2, common.Address{}, big.NewInt(100), big.NewInt(100000), big.NewInt(1), data), types.HomesteadSigner{}, key)
|
||||
tx2, _ := types.SignTx(types.NewTransaction(2, common.Address{}, big.NewInt(100), 100000, big.NewInt(1), data), types.HomesteadSigner{}, key)
|
||||
if err := pool.AddRemote(tx2); err != ErrOversizedData {
|
||||
t.Error("expected", ErrOversizedData, "; got", err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue