Skip to content

Not Enough Money Transferred to Beer Fund Wallet #3

@adamsaho

Description

@adamsaho

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions