mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-23 03:59:36 +00:00
rename trade wallets with short id and short uid
This commit is contained in:
parent
031883e5e3
commit
0c9a3ac0a4
1 changed files with 5 additions and 1 deletions
|
@ -795,7 +795,7 @@ public abstract class Trade implements Tradable, Model {
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getWalletName() {
|
private String getWalletName() {
|
||||||
return MONERO_TRADE_WALLET_PREFIX + getId();
|
return MONERO_TRADE_WALLET_PREFIX + getShortId() + "_" + getShortUid();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void checkAndVerifyDaemonConnection() {
|
public void checkAndVerifyDaemonConnection() {
|
||||||
|
@ -1894,6 +1894,10 @@ public abstract class Trade implements Tradable, Model {
|
||||||
return offer.getShortId();
|
return offer.getShortId();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getShortUid() {
|
||||||
|
return Utilities.getShortId(getUid());
|
||||||
|
}
|
||||||
|
|
||||||
public BigInteger getFrozenAmount() {
|
public BigInteger getFrozenAmount() {
|
||||||
BigInteger sum = BigInteger.ZERO;
|
BigInteger sum = BigInteger.ZERO;
|
||||||
for (String keyImage : getSelf().getReserveTxKeyImages()) {
|
for (String keyImage : getSelf().getReserveTxKeyImages()) {
|
||||||
|
|
Loading…
Reference in a new issue