diff --git a/cli/wallet/multisig.go b/cli/wallet/multisig.go index 9f8176dd7..4f1411503 100644 --- a/cli/wallet/multisig.go +++ b/cli/wallet/multisig.go @@ -27,7 +27,7 @@ func newMultisigCommands() []cli.Command { { Name: "sign", Usage: "sign a transaction", - UsageText: "multisig sign --path --addr --in --out ", + UsageText: "multisig sign --wallet --addr --in --out ", Action: signMultisig, Flags: signFlags, }, diff --git a/cli/wallet/nep5.go b/cli/wallet/nep5.go index 99e267620..5228e55a4 100644 --- a/cli/wallet/nep5.go +++ b/cli/wallet/nep5.go @@ -5,6 +5,7 @@ import ( "errors" "fmt" "io/ioutil" + "strings" "github.com/nspcc-dev/neo-go/cli/flags" "github.com/nspcc-dev/neo-go/cli/options" @@ -16,6 +17,11 @@ import ( "github.com/urfave/cli" ) +var ( + neoToken = wallet.NewToken(client.NeoContractHash, "NEO", "neo", 0) + gasToken = wallet.NewToken(client.GasContractHash, "GAS", "gas", 8) +) + func newNEP5Commands() []cli.Command { balanceFlags := []cli.Flag{ walletPathFlag, @@ -60,21 +66,21 @@ func newNEP5Commands() []cli.Command { { Name: "balance", Usage: "get address balance", - UsageText: "balance --path --rpc-endpoint --timeout