Skip to content

Commit

Permalink
fix: set pm data to 0x when without paymaster
Browse files Browse the repository at this point in the history
  • Loading branch information
akasuv committed Sep 27, 2023
1 parent 46814fc commit 34dab01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CyberAccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class CyberAccount {
await this.getDraftedUserOperation(transactionData);

const estimatedGasValues = await this.bundler.estimateUserOperationGas(
draftedUserOperation,
{ ...draftedUserOperation, paymasterAndData: "0x" as Hex },
CyberBundler.entryPointAddress,
this.chain.id,
);
Expand Down

0 comments on commit 34dab01

Please sign in to comment.