mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 23:06:39 +01:00
This commit is contained in:
parent
a7ba0c5d81
commit
98242c9232
1 changed files with 1 additions and 3 deletions
|
@ -44,7 +44,6 @@ class BondListItem {
|
|||
private final String bondDetails;
|
||||
private final BondState bondState;
|
||||
private final String bondStateString;
|
||||
private final Date lockupDate;
|
||||
|
||||
BondListItem(Bond bond, BsqFormatter bsqFormatter) {
|
||||
this.bond = bond;
|
||||
|
@ -59,8 +58,7 @@ class BondListItem {
|
|||
bondDetails = Utilities.bytesAsHexString(bond.getBondedAsset().getHash());
|
||||
}
|
||||
lockupTxId = bond.getLockupTxId();
|
||||
lockupDate = new Date(bond.getLockupDate());
|
||||
lockupDateString = bsqFormatter.formatDateTime(lockupDate);
|
||||
lockupDateString = bond.getLockupDate() > 0 ? bsqFormatter.formatDateTime(new Date(bond.getLockupDate())) : "-";
|
||||
bondState = bond.getBondState();
|
||||
bondStateString = Res.get("dao.bond.bondState." + bond.getBondState().name());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue