mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Use dash instead of underscore for offer id
This commit is contained in:
parent
4cafddabc7
commit
ea4fc12092
@ -452,7 +452,7 @@ public class Utilities {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static String getShortId(String id) {
|
public static String getShortId(String id) {
|
||||||
return getShortId(id, "_");
|
return getShortId(id, "-");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getShortId(String id, String sep) {
|
public static String getShortId(String id, String sep) {
|
||||||
|
@ -139,8 +139,8 @@ class CreateOfferDataModel extends ActivatableDataModel {
|
|||||||
this.blockchainService = blockchainService;
|
this.blockchainService = blockchainService;
|
||||||
this.formatter = formatter;
|
this.formatter = formatter;
|
||||||
|
|
||||||
offerId = Utilities.getRandomPrefix(6, 12) + "_" +
|
offerId = Utilities.getRandomPrefix(6, 12) + "-" +
|
||||||
UUID.randomUUID().toString() + "_" +
|
UUID.randomUUID().toString() + "-" +
|
||||||
Version.VERSION.replace(".", "");
|
Version.VERSION.replace(".", "");
|
||||||
shortOfferId = Utilities.getShortId(offerId);
|
shortOfferId = Utilities.getShortId(offerId);
|
||||||
addressEntry = walletService.getOrCreateAddressEntry(offerId, AddressEntry.Context.OFFER_FUNDING);
|
addressEntry = walletService.getOrCreateAddressEntry(offerId, AddressEntry.Context.OFFER_FUNDING);
|
||||||
|
Loading…
Reference in New Issue
Block a user