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
if (options.exists("confTarget") && options.exists("totalFee")) {
2919
2919
throwJSONRPCError(RPC_INVALID_PARAMETER, "confTarget and totalFee options should not both be set. Please provide either a confirmation target for fee estimation or an explicit total fee for the transaction.");
2920
-
} elseif (options.exists("confTarget")) {
2921
-
int target = options["confTarget"].get_int();
2922
-
if (target <= 0) { // FIXME: Check upper bound too
2923
-
throwJSONRPCError(RPC_INVALID_PARAMETER, "Invalid confTarget (cannot be <= 0)");
2924
-
}
2925
-
coin_control.m_confirm_target = target;
2920
+
} elseif (options.exists("confTarget")) { // TODO: alias this to conf_target
0 commit comments