diff --git a/x/auth/tx/config/depinject.go b/x/auth/tx/config/depinject.go index d2cf230fd1..85ce366c9b 100644 --- a/x/auth/tx/config/depinject.go +++ b/x/auth/tx/config/depinject.go @@ -83,10 +83,8 @@ func ProvideModule(in ModuleInputs) ModuleOutputs { CustomSignModes: customSignModeHandlers, } - if in.CustomGetSigners != nil { - for _, mode := range in.CustomGetSigners { - txConfigOptions.SigningOptions.CustomGetSigners[mode.MsgType] = mode.Fn - } + for _, mode := range in.CustomGetSigners { + txConfigOptions.SigningOptions.CustomGetSigners[mode.MsgType] = mode.Fn } // enable SIGN_MODE_TEXTUAL only if bank keeper is available