Merge pull request #5312 from filecoin-project/fix/client-balances-args

Fix client flag parsing in client balances cli
This commit is contained in:
Łukasz Magiera 2021-01-11 15:46:16 +01:00 committed by GitHub
commit 3fb605a743
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1751,7 +1751,7 @@ var clientBalancesCmd = &cli.Command{
var addr address.Address
if clientFlag := cctx.String("client"); clientFlag != "" {
ca, err := address.NewFromString("client")
ca, err := address.NewFromString(clientFlag)
if err != nil {
return err
}