Skip to content

Commit

Permalink
Adds todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel committed Oct 31, 2022
1 parent e691abd commit 5dd8293
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/ccv/provider/keeper/keymap.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ func (e *KeyMap) getConsumerUpdates(vscid VSCID, stakingUpdates map[ProviderPubK
}

func toMap(providerUpdates []abci.ValidatorUpdate) map[ProviderPubKey]int64 {
// TODO: add panic
ret := map[ProviderPubKey]int64{}
for _, u := range providerUpdates {
ret[u.PubKey] = u.Power
Expand Down

0 comments on commit 5dd8293

Please sign in to comment.