Add deprecation output to "history" RPC (#3397) (#3398)

This commit is contained in:
Shryder 2021-07-30 12:13:31 +00:00 committed by GitHub
commit fcbcb5bddc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,6 +94,7 @@ void nano::json_handler::process_request (bool unsafe_a)
}
else if (action == "history")
{
response_l.put ("deprecated", "1");
request.put ("head", request.get<std::string> ("hash"));
account_history ();
}