<p></p>
<p><b>@ghubstan</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/bisq-network/bisq/pull/4329#discussion_r444482805">core/src/main/java/bisq/core/grpc/CoreOffersService.java</a>:</p>
<pre style='color:#555'>> +
+ @Inject
+ public CoreOffersService(CreateOfferService createOfferService,
+ OfferBookService offerBookService,
+ OpenOfferManager openOfferManager,
+ User user) {
+ this.createOfferService = createOfferService;
+ this.offerBookService = offerBookService;
+ this.openOfferManager = openOfferManager;
+ this.user = user;
+ }
+
+ public List<Offer> getOffers(String direction, String fiatCurrencyCode) {
+ List<Offer> offers = offerBookService.getOffers().stream()
+ .filter(o -> !o.getDirection().name().equalsIgnoreCase(direction)
+ && o.getOfferPayload().getCounterCurrencyCode().equalsIgnoreCase(fiatCurrencyCode))
</pre>
<p>Requested change is in commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/bisq-network/bisq/commit/51d82b1dff4764bf136a6a9049ebdd054ad63095/hovercard" href="https://github.com/bisq-network/bisq/commit/51d82b1dff4764bf136a6a9049ebdd054ad63095"><tt>51d82b1</tt></a>.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/4329#discussion_r444482805">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNQMTJNWXWCEIA5BAM3RYEE6LANCNFSM4OE4ZSBA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNS24KIYW7QVI3BXLKDRYEE6LA5CNFSM4OE4ZSBKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGODH7LSLQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/4329#discussion_r444482805",
"url": "https://github.com/bisq-network/bisq/pull/4329#discussion_r444482805",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>