Skip to content

Commit

Permalink
refactor: Improve gas limit in transfer method of BlockchainService
Browse files Browse the repository at this point in the history
  • Loading branch information
PleBea committed Sep 25, 2024
1 parent baf3357 commit 9b9a4c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/blockchain/blockchain.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class BlockchainService {
await erc20.waitForDeployment();

await erc20.transfer(to, ethers.parseUnits(amount.toString(), 18), {
gasLimit: 100000,
gasLimit: 1_000_000_000,
nonce: await this.getTransactionCount(),
});

Expand Down

0 comments on commit 9b9a4c9

Please sign in to comment.