Skip to content

Commit

Permalink
fix!: avoid state break in wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
MSalopek committed Aug 2, 2024
1 parent 19a8ea3 commit 69b87e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ func NewAppKeeper(
// Must be called on PFMRouter AFTER TransferKeeper initialized
appKeepers.PFMRouterKeeper.SetTransferKeeper(appKeepers.TransferKeeper)

wasmDir := filepath.Join(homePath, "wasm")
wasmDir := filepath.Join(homePath)

Check failure on line 471 in app/keepers/keepers.go

View workflow job for this annotation

GitHub Actions / golangci-lint

badCall: suspicious Join on 1 argument (gocritic)

Check failure on line 471 in app/keepers/keepers.go

View workflow job for this annotation

GitHub Actions / Analyze

badCall: suspicious Join on 1 argument (gocritic)
wasmConfig, err := wasm.ReadWasmConfig(appOpts)
if err != nil {
panic("error while reading wasm config: " + err.Error())
Expand Down

0 comments on commit 69b87e7

Please sign in to comment.