Use lockupTxId instead of uid

This commit is contained in:
Manfred Karrer 2019-03-28 20:30:38 -05:00
parent 18a3f1e5fe
commit acf26482dc
No known key found for this signature in database
GPG Key ID: 401250966A6B2C46

View File

@ -355,13 +355,12 @@ public class ProposalDisplay {
confiscateBondComboBox.setConverter(new StringConverter<>() {
@Override
public String toString(Bond bond) {
String bondDetails;
String details = " (" + Res.get("dao.bond.table.column.lockupTxId") + ": " + bond.getLockupTxId() + ")";
if (bond instanceof BondedRole) {
bondDetails = bond.getBondedAsset().getDisplayString();
return bond.getBondedAsset().getDisplayString() + details;
} else {
bondDetails = Res.get("dao.bond.bondedReputation");
return Res.get("dao.bond.bondedReputation") + details;
}
return bondDetails + " (" + Res.get("shared.id") + ": " + bond.getBondedAsset().getUid() + ")";
}
@Override