diff --git a/src/xrpld/rpc/handlers/Simulate.cpp b/src/xrpld/rpc/handlers/Simulate.cpp index f8f3dc9f8c..35cb7587d4 100644 --- a/src/xrpld/rpc/handlers/Simulate.cpp +++ b/src/xrpld/rpc/handlers/Simulate.cpp @@ -72,7 +72,7 @@ getAutofillSequence(Json::Value const& tx_json, RPC::JsonContext& context) } static std::optional -autofillSigunature(Json::Value& sigObject) +autofillSignature(Json::Value& sigObject) { if (!sigObject.isMember(jss::SigningPubKey)) { @@ -146,7 +146,7 @@ autofillTx(Json::Value& tx_json, RPC::JsonContext& context) tx_json[jss::Fee] = feeOrError; } - if (auto error = autofillSigunature(tx_json)) + if (auto error = autofillSignature(tx_json)) return *error; if (!tx_json.isMember(jss::Sequence))