Skip to content

Commit

Permalink
Del unused fun
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel committed Oct 31, 2022
1 parent 59e81fc commit 6012965
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions x/ccv/provider/keeper/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,6 @@ func GetProviderConsAddr(keymap *KeyMap, consumerConsAddress sdk.ConsAddress) (s
return PubKeyToConsAddr(providerPublicKey), nil
}

func debugStr(s string, pcons ProviderConsAddr, data ccv.SlashPacketData) {
p := pcons.String()[14:20]
fmt.Println(s, "pcons: ", p, data.ValsetUpdateId, data.Infraction == stakingtypes.Downtime)
}

// HandleSlashPacket slash and jail a misbehaving validator according the infraction type
func (k Keeper) HandleSlashPacket(ctx sdk.Context, chainID string, data ccv.SlashPacketData) (success bool, err error) {
// map VSC ID to infraction height for the given chain ID
Expand Down

0 comments on commit 6012965

Please sign in to comment.