mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +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.getBankId(),
|
||||||
editedOfferPayload.getAcceptedBankIds(),
|
editedOfferPayload.getAcceptedBankIds(),
|
||||||
editedOfferPayload.getVersionNr(),
|
editedOfferPayload.getVersionNr(),
|
||||||
editedOfferPayload.getBlockHeightAtOfferCreation(),
|
sourceOfferPayload.getBlockHeightAtOfferCreation(),
|
||||||
sourceOfferPayload.getTxFee(),
|
sourceOfferPayload.getTxFee(),
|
||||||
sourceOfferPayload.getMakerFee(),
|
sourceOfferPayload.getMakerFee(),
|
||||||
sourceOfferPayload.isCurrencyForMakerFeeBtc(),
|
sourceOfferPayload.isCurrencyForMakerFeeBtc(),
|
||||||
@ -227,14 +227,14 @@ class CloneOfferDataModel extends MutableOfferDataModel {
|
|||||||
sourceOfferPayload.getSellerSecurityDeposit(),
|
sourceOfferPayload.getSellerSecurityDeposit(),
|
||||||
editedOfferPayload.getMaxTradeLimit(),
|
editedOfferPayload.getMaxTradeLimit(),
|
||||||
editedOfferPayload.getMaxTradePeriod(),
|
editedOfferPayload.getMaxTradePeriod(),
|
||||||
editedOfferPayload.isUseAutoClose(),
|
sourceOfferPayload.isUseAutoClose(),
|
||||||
editedOfferPayload.isUseReOpenAfterAutoClose(),
|
sourceOfferPayload.isUseReOpenAfterAutoClose(),
|
||||||
editedOfferPayload.getLowerClosePrice(),
|
sourceOfferPayload.getLowerClosePrice(),
|
||||||
editedOfferPayload.getUpperClosePrice(),
|
sourceOfferPayload.getUpperClosePrice(),
|
||||||
editedOfferPayload.isPrivateOffer(),
|
sourceOfferPayload.isPrivateOffer(),
|
||||||
editedOfferPayload.getHashOfChallenge(),
|
sourceOfferPayload.getHashOfChallenge(),
|
||||||
editedOfferPayload.getExtraDataMap(),
|
sourceOfferPayload.getExtraDataMap(),
|
||||||
editedOfferPayload.getProtocolVersion());
|
sourceOfferPayload.getProtocolVersion());
|
||||||
Offer clonedOffer = new Offer(clonedOfferPayload);
|
Offer clonedOffer = new Offer(clonedOfferPayload);
|
||||||
clonedOffer.setPriceFeedService(priceFeedService);
|
clonedOffer.setPriceFeedService(priceFeedService);
|
||||||
clonedOffer.setState(Offer.State.OFFER_FEE_PAID);
|
clonedOffer.setState(Offer.State.OFFER_FEE_PAID);
|
||||||
|
Loading…
Reference in New Issue
Block a user