We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c122473 commit 39f45d5Copy full SHA for 39f45d5
src/worker/tasks/sendTransactionWorker.ts
@@ -425,7 +425,7 @@ export const getPopulatedOrErroredTransaction = async (
425
const to = queuedTransaction.to ?? queuedTransaction.target;
426
427
if (!from) throw new Error("Invalid transaction parameters: from");
428
- if (!to) throw new Error("Invalid transaction parameters: to");
+ if (queuedTransaction.isUserOp && !to) throw new Error("Invalid transaction parameters: to");
429
430
const populatedTransaction = await toSerializableTransaction({
431
from: getChecksumAddress(from),
0 commit comments