Merge pull request #577 from trung/fix-unit-test

fix unit test for PR 510
This commit is contained in:
Samer Falah 2018-11-23 11:39:20 -05:00 committed by GitHub
commit 12f00d5c8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)