From fcbcb5bddc091594ef32cf4a2586567e8989b84d Mon Sep 17 00:00:00 2001 From: Shryder Date: Fri, 30 Jul 2021 12:13:31 +0000 Subject: [PATCH] Add deprecation output to "history" RPC (#3397) (#3398) --- nano/node/json_handler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/nano/node/json_handler.cpp b/nano/node/json_handler.cpp index 603d4450d..2760bc3e3 100644 --- a/nano/node/json_handler.cpp +++ b/nano/node/json_handler.cpp @@ -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 ("hash")); account_history (); }