diff --git a/src.ts/transaction/transaction.ts b/src.ts/transaction/transaction.ts index 883aa9c122..315fed200d 100644 --- a/src.ts/transaction/transaction.ts +++ b/src.ts/transaction/transaction.ts @@ -1021,8 +1021,8 @@ export class Transaction implements TransactionLike { if (hasFee) { types.push(2); } else if (hasGasPrice) { - types.push(1); - if (!hasAccessList) { types.push(0); } + types.push(0); + if (hasAccessList) { types.push(1); } } else if (hasAccessList) { types.push(1); types.push(2);