From ef5cfee4bb7190221f39d731a9871721d16f26da Mon Sep 17 00:00:00 2001 From: Eirik Rye Date: Sat, 21 Apr 2018 01:15:58 +0200 Subject: [PATCH] Fixed 'account' field for state send subtype in 'account_history' RPC call (#819) --- rai/node/rpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rai/node/rpc.cpp b/rai/node/rpc.cpp index e3ae8d49..4961777c 100644 --- a/rai/node/rpc.cpp +++ b/rai/node/rpc.cpp @@ -1731,7 +1731,7 @@ public: { tree.put ("type", "send"); } - tree.put ("account", block_a.hashables.account.to_account ()); + tree.put ("account", block_a.hashables.link.to_account ()); tree.put ("amount", (previous_balance - balance).convert_to ()); } else