Skip to content

Commit

Permalink
pre refactor inner
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel committed Oct 25, 2022
1 parent 8750a56 commit 278a7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/ccv/provider/keeper/keymap.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ func (e *KeyMap) inner(vscid VSCID, providerUpdates map[ProviderPubKey]int64) ma

providerKeysToSendUpdateFor := []ProviderPubKey{}
keyInProviderKeysToSendUpdateFor := map[string]bool{}
providerKeysLastPositivePowerUpdate := map[string]ccvtypes.LastUpdateMemo{}

// Grab provider keys where the last update had positive power
// and where the assigned consumer key has changed
Expand All @@ -211,6 +210,7 @@ func (e *KeyMap) inner(vscid VSCID, providerUpdates map[ProviderPubKey]int64) ma
}
}

providerKeysLastPositivePowerUpdate := map[string]ccvtypes.LastUpdateMemo{}
canonicalKey := map[string]ConsumerPubKey{}
ret := map[ConsumerPubKey]int64{}

Expand Down

0 comments on commit 278a7f7

Please sign in to comment.