[bisq-network/bisq] BSQ swaps: Low risk refactorings [2] (PR #5770)
Stan
notifications at github.com
Fri Oct 22 19:17:48 CEST 2021
@ghubstan commented on this pull request.
> @@ -184,7 +184,7 @@ public void onStartEditOffer(ErrorMessageHandler errorMessageHandler) {
}
public void onPublishOffer(ResultHandler resultHandler, ErrorMessageHandler errorMessageHandler) {
- OfferPayload offerPayload = createAndGetOffer().getOfferPayload();
+ OfferPayload offerPayload = createAndGetOffer().getOfferPayload().orElseThrow();
`orElseThrow()` 'offer has no payload' instead?
--
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/5770#pullrequestreview-787097484
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20211022/0388d0e3/attachment.htm>
More information about the bisq-github
mailing list