Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantani authored and Pantani committed Feb 10, 2024
1 parent ba117be commit a65321b
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions official/wasm/templates/wasm/wasm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit a65321b

Please sign in to comment.