fix fee calculation taking offer within range

This commit is contained in:
woodser 2023-05-30 12:42:50 -04:00
parent 0251b49d61
commit b90163baa5
10 changed files with 32 additions and 15 deletions

View file

@ -122,6 +122,7 @@ class GrpcTradesService extends TradesImplBase {
try {
coreApi.takeOffer(req.getOfferId(),
req.getPaymentAccountId(),
req.getAmount(),
trade -> {
TradeInfo tradeInfo = toTradeInfo(trade);
var reply = TakeOfferReply.newBuilder()