Update distribution JSON structure in add-genesis-lockup-account cmd #75
@ -39,7 +39,7 @@ func AddGenesisLockupAccountCmd() *cobra.Command {
|
||||
moduleName := args[0]
|
||||
distributionFilePath := args[1]
|
||||
|
||||
var distribution map[string]interface{}
|
||||
var distribution []interface{}
|
||||
distributionBytes, err := os.ReadFile(distributionFilePath)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to read %s file: %w", distributionFilePath, err)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user