fix unit test for PR 510

This commit is contained in:
Trung Nguyen 2018-11-23 11:20:31 -05:00
parent 40cf04732e
commit 99dcc0fd3f
No known key found for this signature in database
GPG Key ID: 4636434ED9505EB7
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ func TestInvalidTransactions(t *testing.T) {
t.Error("expected", ErrGasLimit, "; got", err)
}
data := make([]byte, (32*1024)+1)
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)
if err := pool.AddRemote(tx2); err != ErrOversizedData {
t.Error("expected", ErrOversizedData, "; got", err)