From 22f851f9a6080611f2cdb86222cd34e60822498e Mon Sep 17 00:00:00 2001 From: Snobbish Bee <125891987+snobbee@users.noreply.github.com> Date: Fri, 15 Dec 2023 07:10:19 +0100 Subject: [PATCH] fix: minor --- x/ethbridge/keeper/blacklist.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/x/ethbridge/keeper/blacklist.go b/x/ethbridge/keeper/blacklist.go index 84981880c4..213ec178aa 100644 --- a/x/ethbridge/keeper/blacklist.go +++ b/x/ethbridge/keeper/blacklist.go @@ -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 {