cli: miner-info review

This commit is contained in:
Łukasz Magiera 2020-10-29 10:33:08 +01:00 committed by GitHub
parent c80e8cb7d3
commit e168f7a917
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@ var stateMinerInfo = &cli.Command{
if err != nil { if err != nil {
return xerrors.Errorf("getting miner available balance: %w", err) return xerrors.Errorf("getting miner available balance: %w", err)
} }
fmt.Printf("Miner available balance: %sss\n", types.FIL(availableBalance)) fmt.Printf("Available Balance: %s\n", types.FIL(availableBalance))
fmt.Printf("Owner:\t%s\n", mi.Owner) fmt.Printf("Owner:\t%s\n", mi.Owner)
fmt.Printf("Worker:\t%s\n", mi.Worker) fmt.Printf("Worker:\t%s\n", mi.Worker)
for i, controlAddress := range mi.ControlAddresses { for i, controlAddress := range mi.ControlAddresses {