From a65321b69d07a464806d3c18a535637e36f281a7 Mon Sep 17 00:00:00 2001 From: Pantani Date: Fri, 9 Feb 2024 22:53:21 -0300 Subject: [PATCH] format code --- official/wasm/templates/wasm/wasm.go | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/official/wasm/templates/wasm/wasm.go b/official/wasm/templates/wasm/wasm.go index dc58d970..cecf7ea4 100644 --- a/official/wasm/templates/wasm/wasm.go +++ b/official/wasm/templates/wasm/wasm.go @@ -177,17 +177,10 @@ if err != nil { ibcRouter.AddRoute(wasmtypes.ModuleName, wasmStack) %[1]v` - replacementIBCModule := fmt.Sprintf( - templateIBCModule, - module.PlaceholderIBCNewModule, - ) + replacementIBCModule := fmt.Sprintf(templateIBCModule, module.PlaceholderIBCNewModule) content = replacer.Replace(content, module.PlaceholderIBCNewModule, replacementIBCModule) - content, err = goanalysis.ReplaceCode( - content, - "RegisterIBC", - funcRegisterIBCWasm, - ) + content, err = goanalysis.ReplaceCode(content, "RegisterIBC", funcRegisterIBCWasm) if err != nil { return err }