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 26027ce commit 5d4486b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/modules/blockchain/blockchain.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ export class BlockchainService {
await erc20.waitForDeployment();

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

Expand Down

0 comments on commit 5d4486b

Please sign in to comment.