Skip to content

v0.19.0: Problem with variable m_absurd_fee #17464

@fujicoin

Description

@fujicoin

The variable m_absurd_fee has only two lines written in the entire source code. It is the following two lines.
validation.cpp: L451
const CAmount & m_absurd_fee;
const CAmount & nAbsurdFee = args.m_absurd_fee;

As a result, isn't nAbsurdFee indefinite?
This causes a problem with the following line:
validation.cpp: L717
if (nAbsurdFee && nFees> nAbsurdFee)
return state.Invalid (ValidationInvalidReason :: TX_NOT_STANDARD, false,
REJECT_HIGHFEE, "absurdly-high-fee",
strprintf ("% d>% d", nFees, nAbsurdFee));

As a result, may an error occur with the "sendrawtransaction" command?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions