Skip to content

Commit

Permalink
fix relayed version extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan-rosianu committed Jan 13, 2025
1 parent dac048f commit 784dac5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/endpoints/transactions/transaction.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -559,11 +559,13 @@ export class TransactionService {
return 'v1';
} else if (decodedData.startsWith('relayedTxV2@')) {
return 'v2';
} else if (transaction.relayer) {
return 'v3';
}
}

if (transaction.relayer) {
return 'v3';
}

return undefined;
}
}

0 comments on commit 784dac5

Please sign in to comment.