Skip to content

Commit

Permalink
fix: include account in call to estimateGas
Browse files Browse the repository at this point in the history
  • Loading branch information
0xRAG committed Feb 4, 2025
1 parent 078e186 commit f210126
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ export class CdpWalletProvider extends EvmWalletProvider {
const feeData = await this.#publicClient!.estimateFeesPerGas();

const gas = await this.#publicClient!.estimateGas({
account: this.#publicClient.account,
to,
value,
data,
Expand Down

0 comments on commit f210126

Please sign in to comment.