Skip to content

Commit

Permalink
Add deprecation output to "history" RPC (#3397) (#3398)
Browse files Browse the repository at this point in the history
  • Loading branch information
shryder authored Jul 30, 2021
1 parent c2d7ddb commit fcbcb5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nano/node/json_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
}
Expand Down

0 comments on commit fcbcb5b

Please sign in to comment.