mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-30 18:28:52 -04:00
improve addressentry handling
This commit is contained in:
parent
00b41cf537
commit
fc85a8ee17
10 changed files with 58 additions and 122 deletions
|
@ -41,7 +41,8 @@ public class Offer implements Serializable
|
|||
// Constructor
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
public Offer(PublicKey messagePublicKey,
|
||||
public Offer(String id,
|
||||
PublicKey messagePublicKey,
|
||||
Direction direction,
|
||||
double price,
|
||||
Coin amount,
|
||||
|
@ -55,6 +56,7 @@ public class Offer implements Serializable
|
|||
List<Country> acceptedCountries,
|
||||
List<Locale> acceptedLanguageLocales)
|
||||
{
|
||||
this.id = id;
|
||||
this.messagePublicKey = messagePublicKey;
|
||||
this.direction = direction;
|
||||
this.price = price;
|
||||
|
@ -71,7 +73,6 @@ public class Offer implements Serializable
|
|||
this.acceptedLanguageLocales = acceptedLanguageLocales;
|
||||
|
||||
creationDate = new Date();
|
||||
id = UUID.randomUUID().toString();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue