diff --git a/src/wallet/rpc/spend.cpp b/src/wallet/rpc/spend.cpp index 356f44e7c200d7..675145494ec643 100644 --- a/src/wallet/rpc/spend.cpp +++ b/src/wallet/rpc/spend.cpp @@ -100,7 +100,7 @@ std::vector ParseOutputs(const UniValue& outputs_in, const UniValue& std::set set_sffo; if (options.exists("subtractFeeFromOutputs") || options.exists("subtract_fee_from_outputs") ) { UniValue sffo = (options.exists("subtract_fee_from_outputs") ? options["subtract_fee_from_outputs"] : options["subtractFeeFromOutputs"]).get_array(); - set_sffo = ParseSubtractFeeFromOutputs(sffo, outputs.getKeys()); + set_sffo = InterpretSubtractFeeFromOutputInstructions(sffo, outputs.getKeys()); } return ParseRecipients(outputs, set_sffo); }