Skip to content

Commit 6c52df4

Browse files
committed
fix: typedData check
1 parent 4c233b7 commit 6c52df4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/EVM/EVMStepExecutor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ export class EVMStepExecutor extends BaseStepExecutor {
392392

393393
// Create new transaction request
394394
if (
395-
!step.transactionRequest ||
395+
!step.transactionRequest &&
396396
!step.typedData?.some((p) => p.primaryType !== 'Permit')
397397
) {
398398
const updatedStep = await this.getUpdatedStep(
@@ -413,7 +413,7 @@ export class EVMStepExecutor extends BaseStepExecutor {
413413
}
414414

415415
if (
416-
!step.transactionRequest ||
416+
!step.transactionRequest &&
417417
!step.typedData?.some((p) => p.primaryType !== 'Permit')
418418
) {
419419
throw new TransactionError(

0 commit comments

Comments
 (0)