You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO: temporary migration code for old clients. Remove in v0.20
806
807
if (request.params[1].isBool()) {
807
808
throwJSONRPCError(RPC_INVALID_PARAMETER, "Second argument must be numeric (maxfeerate) and no longer supports a boolean. To allow a transaction with high fees, set maxfeerate to 0.");
808
809
} elseif (!request.params[1].isNull()) {
809
-
size_t weight = GetTransactionWeight(*tx);
810
-
CFeeRate fr(AmountFromValue(request.params[1]));
811
-
// the +3/4 part rounds the value up, and is the same formula used when
// TODO: temporary migration code for old clients. Remove in v0.20
882
881
if (request.params[1].isBool()) {
883
882
throwJSONRPCError(RPC_INVALID_PARAMETER, "Second argument must be numeric (maxfeerate) and no longer supports a boolean. To allow a transaction with high fees, set maxfeerate to 0.");
884
883
} elseif (!request.params[1].isNull()) {
885
-
size_t weight = GetTransactionWeight(*tx);
886
-
CFeeRate fr(AmountFromValue(request.params[1]));
887
-
// the +3/4 part rounds the value up, and is the same formula used when
0 commit comments