Skip to content

deleted_forward_fees integer type in vars table too small #9467

Description

@denis2342

deleted_forward_fees in the vars table is using the intval column which is only 32bit integer from -2147483648 to +2147483647.

since the fees are stored in msats that's only a little more than 2 million sats. that is not enough for a long running node which then overflows this value and becomes negative.

ask me how I know.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions