Commit 825457f9 authored by Evan Vigil-McClanahan's avatar Evan Vigil-McClanahan
Browse files

fix hbbft perf for pre-validator code

parent c2efe4ed
Showing with 3 additions and 2 deletions
+3 -2
......@@ -258,8 +258,9 @@ hbbft_perf(["hbbft", "perf"], [], Flags) ->
{Start1, maps:to_list(Penalties1)};
_ ->
{Start0 + 1,
[{A, S} || {S, _L, A} <- blockchain_election:adjust_old_group(
[{0, 0, A} || A <- ConsensusAddrs], Ledger)]}
[{A, {S, 0.0}}
|| {S, _L, A} <- blockchain_election:adjust_old_group(
[{0, 0, A} || A <- ConsensusAddrs], Ledger)]}
end,
Blocks = [begin {ok, Block} = blockchain:get_block(Ht, Chain), Block end
|| Ht <- lists:seq(Start, End)],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment