Skip to content

Commit 482194f

Browse files
committed
make the auth invalid
1 parent 3af3735 commit 482194f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/tx_pool_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2834,11 +2834,11 @@ func TestSetCodeTransactions(t *testing.T) {
28342834
},
28352835
},
28362836
{
2837-
name: "nonce-gapped-auth-does-not-block-pending-tx",
2837+
name: "nonce-gapped-invalid-auth-does-not-block-pending-tx",
28382838
pending: 1,
28392839
queued: 1,
28402840
run: func(name string, pool *TxPool, statedb *state.StateDB) {
2841-
if err := pool.addRemoteSync(setCodeTx(1, keyC, []unsignedAuth{{1, keyA}})); err != nil {
2841+
if err := pool.addRemoteSync(setCodeTx(1, keyC, []unsignedAuth{{0, keyA}})); err != nil {
28422842
t.Fatalf("%s: failed to add nonce-gapped setcode transaction: %v", name, err)
28432843
}
28442844
if err := pool.addRemoteSync(pricedTransaction(0, 100000, big.NewInt(1000), keyA)); err != nil {

0 commit comments

Comments
 (0)