diff --git a/baseapp/baseapp.go b/baseapp/baseapp.go index 32073cc88278..54cb68e74138 100644 --- a/baseapp/baseapp.go +++ b/baseapp/baseapp.go @@ -4,7 +4,6 @@ import ( "context" "errors" "fmt" - "reflect" abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/libs/log" @@ -202,7 +201,7 @@ func (app *BaseApp) MountStores(keys ...storetypes.StoreKey) { app.MountStore(key, storetypes.StoreTypeTransient) default: - panic("Unrecognized store key type " + reflect.TypeOf(key).Name()) + panic(fmt.Sprintf("Unrecognized store key type :%T", key)) } } }