From f8863ce200e3e464f3a695077cbdd002402976df Mon Sep 17 00:00:00 2001 From: pudongair <744355276@qq.com> Date: Mon, 23 Dec 2024 01:35:00 +0800 Subject: [PATCH] chore: fix some comments (#1039) Signed-off-by: pudongair <744355276@qq.com> --- app/upgrades/v19/upgrades.go | 2 +- cmd/junod/cmd/balances_from_state_export.go | 2 +- cmd/junod/cmd/genica.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/upgrades/v19/upgrades.go b/app/upgrades/v19/upgrades.go index 1e4631349..3e7c9a382 100644 --- a/app/upgrades/v19/upgrades.go +++ b/app/upgrades/v19/upgrades.go @@ -69,7 +69,7 @@ func CreateV19UpgradeHandler( } } -// migrateCore1Vesting moves the funds and delegations from the PeriodicVestingAccount -> the new Council (contract address). +// migrateCore1MultisigVesting moves the funds and delegations from the PeriodicVestingAccount -> the new Council (contract address). // - Get the Core-1 multisig vesting account // - Instantly finish all redelegations, then unbond all tokens. // - Send all tokens to the new council (including the previously held balance) diff --git a/cmd/junod/cmd/balances_from_state_export.go b/cmd/junod/cmd/balances_from_state_export.go index 25b1bc792..e0e38b2a4 100644 --- a/cmd/junod/cmd/balances_from_state_export.go +++ b/cmd/junod/cmd/balances_from_state_export.go @@ -83,7 +83,7 @@ func getGenStateFromPath(genesisFilePath string) (map[string]json.RawMessage, er return genState, nil } -// ExportAirdropSnapshotCmd generates a snapshot.json from a provided exported genesis.json. +// ExportDeriveBalancesCmd generates a snapshot.json from a provided exported genesis.json. func ExportDeriveBalancesCmd() *cobra.Command { cmd := &cobra.Command{ Use: "export-derive-balances [input-genesis-file] [output-snapshot-json]", diff --git a/cmd/junod/cmd/genica.go b/cmd/junod/cmd/genica.go index 5b4ea5110..9e392932d 100644 --- a/cmd/junod/cmd/genica.go +++ b/cmd/junod/cmd/genica.go @@ -18,7 +18,7 @@ import ( genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" ) -// AddGenesisAccountCmd returns add-genesis-account cobra Command. +// AddGenesisIcaCmd returns add-genesis-account cobra Command. func AddGenesisIcaCmd(defaultNodeHome string) *cobra.Command { cmd := &cobra.Command{ Use: "add-ica-config",