[bisq-network/bisq] [WIP] Atomic bsq trades (#5729)
Christoph Atteneder
notifications at github.com
Tue Sep 28 10:58:50 CEST 2021
@ripcurlx commented on this pull request.
> @@ -409,6 +412,35 @@ public void placeOffer(Offer offer,
placeOfferProtocol.placeOffer();
}
+ public void placeAtomicOffer(Offer offer,
+ TransactionResultHandler resultHandler,
+ ErrorMessageHandler errorMessageHandler) {
+ checkArgument(offer.getOfferPayloadI() instanceof AtomicOfferPayload);
+ var atomicModel = new AtomicPlaceOfferModel(offer,
+ offerBookService,
+ tradeStatisticsManager,
+ daoFacade,
+ user,
+ filterManager);
+
+ var atomicPlaceOfferProtocol = new AtomicPlaceOfferProtocol(atomicModel,
Maybe `PlaceAtomicOfferProtocol` instead of `AtomicPlaceOfferProtocol`?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5729#pullrequestreview-765163348
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210928/40e9eb01/attachment.htm>
More information about the bisq-github
mailing list