Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const doSimulateTransaction = async (
});

if (transaction.transactionMode === "sponsored") {
if (!isZkSyncChain(chain)) {
if (!(await isZkSyncChain(chain))) {
throw new Error(
"Sponsored EOA transactions are only supported on zkSync chains.",
);
Expand Down
2 changes: 1 addition & 1 deletion src/worker/tasks/send-transaction-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ const _sendTransaction = async (
let account: Account;

if (queuedTransaction.transactionMode === "sponsored") {
if (!isZkSyncChain(chain)) {
if (!(await isZkSyncChain(chain))) {
job.log(
"Sponsored EOA transactions are only supported on zkSync chains.",
);
Expand Down
Loading