Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package app
import (
"fmt"
"io"
"maps"
"os"
"path/filepath"
"strings"
Expand Down Expand Up @@ -545,11 +546,7 @@ func (app *ElysApp) RegisterNodeService(clientCtx client.Context, config config.

// GetMaccPerms returns a copy of the module account permissions
func GetMaccPerms() map[string][]string {
dupMaccPerms := make(map[string][]string)
for k, v := range maccPerms {
dupMaccPerms[k] = v
}
return dupMaccPerms
return maps.Clone(maccPerms)
}

// SimulationManager returns the app SimulationManager
Expand Down