mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Further restrict cloning
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
parent
63ca40db5c
commit
e6dc26a26a
@ -219,7 +219,7 @@ class CloneOfferDataModel extends MutableOfferDataModel {
|
||||
editedOfferPayload.getBankId(),
|
||||
editedOfferPayload.getAcceptedBankIds(),
|
||||
editedOfferPayload.getVersionNr(),
|
||||
editedOfferPayload.getBlockHeightAtOfferCreation(),
|
||||
sourceOfferPayload.getBlockHeightAtOfferCreation(),
|
||||
sourceOfferPayload.getTxFee(),
|
||||
sourceOfferPayload.getMakerFee(),
|
||||
sourceOfferPayload.isCurrencyForMakerFeeBtc(),
|
||||
@ -227,14 +227,14 @@ class CloneOfferDataModel extends MutableOfferDataModel {
|
||||
sourceOfferPayload.getSellerSecurityDeposit(),
|
||||
editedOfferPayload.getMaxTradeLimit(),
|
||||
editedOfferPayload.getMaxTradePeriod(),
|
||||
editedOfferPayload.isUseAutoClose(),
|
||||
editedOfferPayload.isUseReOpenAfterAutoClose(),
|
||||
editedOfferPayload.getLowerClosePrice(),
|
||||
editedOfferPayload.getUpperClosePrice(),
|
||||
editedOfferPayload.isPrivateOffer(),
|
||||
editedOfferPayload.getHashOfChallenge(),
|
||||
editedOfferPayload.getExtraDataMap(),
|
||||
editedOfferPayload.getProtocolVersion());
|
||||
sourceOfferPayload.isUseAutoClose(),
|
||||
sourceOfferPayload.isUseReOpenAfterAutoClose(),
|
||||
sourceOfferPayload.getLowerClosePrice(),
|
||||
sourceOfferPayload.getUpperClosePrice(),
|
||||
sourceOfferPayload.isPrivateOffer(),
|
||||
sourceOfferPayload.getHashOfChallenge(),
|
||||
sourceOfferPayload.getExtraDataMap(),
|
||||
sourceOfferPayload.getProtocolVersion());
|
||||
Offer clonedOffer = new Offer(clonedOfferPayload);
|
||||
clonedOffer.setPriceFeedService(priceFeedService);
|
||||
clonedOffer.setState(Offer.State.OFFER_FEE_PAID);
|
||||
|
Loading…
Reference in New Issue
Block a user