Skip to content

Commit

Permalink
[ioctl] use candidate.OperatorAddress to show probated delegates (#3727)
Browse files Browse the repository at this point in the history
Co-authored-by: dustinxie <dahuaxie@gmail.com>
  • Loading branch information
huof6829 and dustinxie committed Jan 5, 2023
1 parent 2476e19 commit 83008ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ioctl/cmd/node/nodedelegate.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ func fillMessage(cli iotexapi.APIServiceClient, message *delegatesMessage, alias
continue
}
isProbated := false
if _, ok := pb.ProbationInfo[candidate.OwnerAddress]; ok {
if _, ok := pb.ProbationInfo[candidate.OperatorAddress]; ok {
isProbated = true
}
iotx, err := util.StringToIOTX(candidate.TotalWeightedVotes)
Expand Down

0 comments on commit 83008ed

Please sign in to comment.