mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-27 17:05:29 -04:00
Improve display for role (buyer/seller/offerer/taker)
This commit is contained in:
parent
d31a4c2947
commit
ba4a228fed
6 changed files with 70 additions and 18 deletions
|
@ -98,6 +98,10 @@ public class Contract implements Serializable {
|
|||
this.takerBtcPubKey = takerBtcPubKey;
|
||||
}
|
||||
|
||||
public boolean isBuyerOffererAndSellerTaker() {
|
||||
return isBuyerOffererAndSellerTaker;
|
||||
}
|
||||
|
||||
public String getBuyerAccountId() {
|
||||
return isBuyerOffererAndSellerTaker ? offererAccountId : takerAccountId;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue