remove unused function
This commit is contained in:
parent
0034e48458
commit
a4130f5821
@ -3,8 +3,6 @@ package keeper
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
gogotypes "github.com/gogo/protobuf/types"
|
||||
|
||||
"github.com/tendermint/tendermint/libs/log"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/codec"
|
||||
@ -93,13 +91,6 @@ func (k Keeper) Jail(ctx sdk.Context, consAddr sdk.ConsAddress) {
|
||||
k.sk.Jail(ctx, consAddr)
|
||||
}
|
||||
|
||||
func (k Keeper) setAddrPubkeyRelation(ctx sdk.Context, addr cryptotypes.Address, pubkey string) {
|
||||
store := ctx.KVStore(k.storeKey)
|
||||
|
||||
bz := k.cdc.MustMarshalBinaryBare(&gogotypes.StringValue{Value: pubkey})
|
||||
store.Set(types.AddrPubkeyRelationKey(addr), bz)
|
||||
}
|
||||
|
||||
func (k Keeper) deleteAddrPubkeyRelation(ctx sdk.Context, addr cryptotypes.Address) {
|
||||
store := ctx.KVStore(k.storeKey)
|
||||
store.Delete(types.AddrPubkeyRelationKey(addr))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user