Merge pull request #5312 from filecoin-project/fix/client-balances-args
Fix client flag parsing in client balances cli
This commit is contained in:
commit
3fb605a743
@ -1751,7 +1751,7 @@ var clientBalancesCmd = &cli.Command{
|
|||||||
|
|
||||||
var addr address.Address
|
var addr address.Address
|
||||||
if clientFlag := cctx.String("client"); clientFlag != "" {
|
if clientFlag := cctx.String("client"); clientFlag != "" {
|
||||||
ca, err := address.NewFromString("client")
|
ca, err := address.NewFromString(clientFlag)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user