From 1d4b595006f1775e2a3bedb91ef14ab2e890f6b2 Mon Sep 17 00:00:00 2001 From: Christopher Goes Date: Wed, 17 Oct 2018 00:34:16 +0200 Subject: [PATCH] Correctly set power in vote info --- x/mock/simulation/random_simulate_blocks.go | 1 + 1 file changed, 1 insertion(+) diff --git a/x/mock/simulation/random_simulate_blocks.go b/x/mock/simulation/random_simulate_blocks.go index 0af6fbbac1..d2680bc0f4 100644 --- a/x/mock/simulation/random_simulate_blocks.go +++ b/x/mock/simulation/random_simulate_blocks.go @@ -370,6 +370,7 @@ func RandomRequestBeginBlock(r *rand.Rand, validators map[string]mockValidator, voteInfos[i] = abci.VoteInfo{ Validator: abci.Validator{ Address: pubkey.Address(), + Power: mVal.val.Power, }, SignedLastBlock: signed, }