Skip to content

Commit

Permalink
address ME comments
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemadero committed Feb 27, 2025
1 parent 5dddef4 commit bd65b55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/blockchaincmd/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ func convertSubnetToL1(
ux.Logger.PrintToUser(" Validators:")
for _, val := range bootstrapValidators {
ux.Logger.PrintToUser(" Node ID: %s", val.NodeID)
ux.Logger.PrintToUser(" Weight: %d", val.Weight)
ux.Logger.PrintToUser(" Balance: %.5f", float64(val.Balance)/float64(units.Avax))
}
ux.Logger.PrintToUser("")
Expand Down
1 change: 1 addition & 0 deletions cmd/transactioncmd/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func validateConvertOperation(tx *txs.Tx, action string) (bool, error) {
return false, fmt.Errorf("unexpected node ID on tx")
}
ux.Logger.PrintToUser(" Node ID: %s", nodeID)
ux.Logger.PrintToUser(" Weight: %d", val.Weight)
ux.Logger.PrintToUser(" Balance: %.5f", float64(val.Balance)/float64(units.Avax))
}
ux.Logger.PrintToUser("")
Expand Down

0 comments on commit bd65b55

Please sign in to comment.