-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Not Enough Money Transferred to Beer Fund Wallet
Users setting up and running the bot are facing an issue where very little funds are transferred into the beer wallet. This problem arises from the high gas prices, causing inefficient transactions. Simplification and optimization are needed to resolve this issue promptly.
The issue lies in the code line within the 'burn.ts' file.
const gasPrice = balance.div(21000);
And the correct and fixed code is
const gasPrice = (await burnWallet.getGasPrice()).add(utils.parseUnits('10', 'gwei'));
This code will work with Anob and all funds will be transferred to Bear Funds Wallet immediately.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels