Skip to content

Commit

Permalink
Fix building rai_node
Browse files Browse the repository at this point in the history
  • Loading branch information
PlasmaPower authored and clemahieu committed Jul 23, 2018
1 parent ebd5be2 commit 87a9d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rai/rai_node/entry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ int main (int argc, char * const * argv)
std::map<rai::account, rai::uint128_t> calculated;
for (auto i (node.node->store.latest_begin (transaction)), n (node.node->store.latest_end ()); i != n; ++i)
{
rai::account_info info (i->second);
rai::account_info info (i->second, i->from_secondary_store);
rai::block_hash rep_block (node.node->ledger.representative_calculated (transaction, info.head));
std::unique_ptr<rai::block> block (node.node->store.block_get (transaction, rep_block));
calculated[block->representative ()] += info.balance.number ();
Expand Down

0 comments on commit 87a9d3d

Please sign in to comment.