Do not use sourceOfferPayload for extraDataMap

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
HenrikJannsen 2023-05-13 22:15:38 +07:00
parent e6dc26a26a
commit b11511e037
No known key found for this signature in database
GPG Key ID: 02AA2BAE387C8307

View File

@ -233,7 +233,7 @@ class CloneOfferDataModel extends MutableOfferDataModel {
sourceOfferPayload.getUpperClosePrice(), sourceOfferPayload.getUpperClosePrice(),
sourceOfferPayload.isPrivateOffer(), sourceOfferPayload.isPrivateOffer(),
sourceOfferPayload.getHashOfChallenge(), sourceOfferPayload.getHashOfChallenge(),
sourceOfferPayload.getExtraDataMap(), editedOfferPayload.getExtraDataMap(),
sourceOfferPayload.getProtocolVersion()); sourceOfferPayload.getProtocolVersion());
Offer clonedOffer = new Offer(clonedOfferPayload); Offer clonedOffer = new Offer(clonedOfferPayload);
clonedOffer.setPriceFeedService(priceFeedService); clonedOffer.setPriceFeedService(priceFeedService);