From c3b1bb96646c72f300c111ecd64ed933c46190b1 Mon Sep 17 00:00:00 2001 From: Carlton N Hanna Date: Mon, 9 Oct 2023 08:58:01 -0600 Subject: [PATCH] fix method comments --- x/ibchooks/ibc_hooks.go | 2 +- x/ibchooks/marker_hooks.go | 2 +- x/ibchooks/wasm_hook.go | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/x/ibchooks/ibc_hooks.go b/x/ibchooks/ibc_hooks.go index 09a18d9553..ab2503de73 100644 --- a/x/ibchooks/ibc_hooks.go +++ b/x/ibchooks/ibc_hooks.go @@ -33,7 +33,7 @@ func NewIbcHooks(cdc codec.BinaryCodec, ibcHooksKeeper *keeper.Keeper, ibcKeeper } } -// ProperlyConfigured returns false if either wasm or marker hooks are configured properly +// ProperlyConfigured returns false if either wasm or marker hooks are configured incorrectly func (h IbcHooks) ProperlyConfigured() bool { return h.wasmHooks.ProperlyConfigured() && h.markerHooks.ProperlyConfigured() && h.ibcHooksKeeper != nil } diff --git a/x/ibchooks/marker_hooks.go b/x/ibchooks/marker_hooks.go index 507f3fc441..8477af17b5 100644 --- a/x/ibchooks/marker_hooks.go +++ b/x/ibchooks/marker_hooks.go @@ -30,7 +30,7 @@ func NewMarkerHooks(markerkeeper *markerkeeper.Keeper) MarkerHooks { } } -// ProperlyConfigured returns false marker hooks are configured properly +// ProperlyConfigured returns false when marker hooks are configured incorrectly func (h MarkerHooks) ProperlyConfigured() bool { return h.MarkerKeeper != nil } diff --git a/x/ibchooks/wasm_hook.go b/x/ibchooks/wasm_hook.go index 930594c111..3bb4186847 100644 --- a/x/ibchooks/wasm_hook.go +++ b/x/ibchooks/wasm_hook.go @@ -34,6 +34,7 @@ func NewWasmHooks(ibcHooksKeeper *keeper.Keeper, contractKeeper *wasmkeeper.Keep } } +// ProperlyConfigured returns false when wasm hooks are configured incorrectly func (h WasmHooks) ProperlyConfigured() bool { return h.ContractKeeper != nil && h.ibcHooksKeeper != nil }