Skip to content

Commit

Permalink
fix: minor
Browse files Browse the repository at this point in the history
  • Loading branch information
snobbee committed Dec 15, 2023
1 parent 6c41d63 commit 22f851f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions x/ethbridge/keeper/blacklist.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,14 @@ func (k Keeper) SetBlacklist(ctx sdk.Context, msg *types.MsgSetBlacklist) error
return nil
}

func (k Keeper) SetBlacklistAddress(ctx sdk.Context, address string) error {
func (k Keeper) SetBlacklistAddress(ctx sdk.Context, address string) {
store := ctx.KVStore(k.storeKey)
store.Set(append(types.BlacklistPrefix, []byte(address)...), []byte(address))
return nil
}

func (k Keeper) DeleteBlacklistAddress(ctx sdk.Context, address string) error {
func (k Keeper) DeleteBlacklistAddress(ctx sdk.Context, address string) {
store := ctx.KVStore(k.storeKey)
store.Delete(append(types.BlacklistPrefix, []byte(address)...))
return nil
}

func (k Keeper) GetBlacklist(ctx sdk.Context) []string {
Expand Down

0 comments on commit 22f851f

Please sign in to comment.