Fixed 'account' field for state send subtype in 'account_history' RPC call (#819)

This commit is contained in:
Eirik Rye 2018-04-21 01:15:58 +02:00 committed by clemahieu
commit ef5cfee4bb

View file

@ -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<std::string> ());
}
else