Fix lint warnings

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Łukasz Magiera
2020-10-12 00:07:40 +02:00
committed by Jakub Sztandera
parent 2c92157233
commit 8ae66d6c6a
2 changed files with 10 additions and 16 deletions
+3 -11
View File
@@ -33,8 +33,8 @@ var ledgerListAddressesCmd = &cli.Command{
Name: "list",
Flags: []cli.Flag{
&cli.BoolFlag{
Name: "print-balances",
Usage: "print balances",
Name: "print-balances",
Usage: "print balances",
Aliases: []string{"b"},
},
},
@@ -137,19 +137,11 @@ func printHDPath(pth []uint32) string {
return strings.TrimRight(s, "/")
}
func numlist(p []uint32) string {
var out []string
for _, v := range p {
out = append(out, fmt.Sprint(v))
}
return strings.Join(out, ",")
}
var ledgerKeyInfoCmd = &cli.Command{
Name: "key-info",
Flags: []cli.Flag{
&cli.BoolFlag{
Name: "verbose",
Name: "verbose",
Aliases: []string{"v"},
},
},