[bisq-network/bisq] BSQ swaps: Low risk refactorings [2] (PR #5770)
Stan
notifications at github.com
Fri Oct 22 19:12:55 CEST 2021
@ghubstan commented on this pull request.
> @@ -69,7 +69,7 @@ protected void run() {
byte[] hashOfTakersPaymentAccountPayload = taker.getHashOfPaymentAccountPayload();
String makersPaymentMethodId = checkNotNull(processModel.getPaymentAccountPayload(trade)).getPaymentMethodId();
String takersPaymentMethodId = checkNotNull(taker.getPaymentMethodId());
- OfferPayload offerPayload = offer.getOfferPayload();
+ OfferPayload offerPayload = offer.getOfferPayload().orElseThrow();
```
.orElseThrow(() ->
new IllegalStateException(format("Offer %s has no payload.", openOffer.getId())));
```
?
--
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-787092712
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20211022/fbc9830b/attachment-0001.htm>
More information about the bisq-github
mailing list