mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-11 16:10:32 -04:00
support buying xmr without deposit or fee using passphrase
This commit is contained in:
parent
ece3b0fec0
commit
775fbc41c2
115 changed files with 3845 additions and 838 deletions
|
@ -150,10 +150,12 @@ class GrpcOffersService extends OffersImplBase {
|
|||
req.getMarketPriceMarginPct(),
|
||||
req.getAmount(),
|
||||
req.getMinAmount(),
|
||||
req.getBuyerSecurityDepositPct(),
|
||||
req.getSecurityDepositPct(),
|
||||
req.getTriggerPrice(),
|
||||
req.getReserveExactAmount(),
|
||||
req.getPaymentAccountId(),
|
||||
req.getIsPrivateOffer(),
|
||||
req.getBuyerAsTakerWithoutDeposit(),
|
||||
offer -> {
|
||||
// This result handling consumer's accept operation will return
|
||||
// the new offer to the gRPC client after async placement is done.
|
||||
|
|
|
@ -138,6 +138,7 @@ class GrpcTradesService extends TradesImplBase {
|
|||
coreApi.takeOffer(req.getOfferId(),
|
||||
req.getPaymentAccountId(),
|
||||
req.getAmount(),
|
||||
req.getChallenge(),
|
||||
trade -> {
|
||||
TradeInfo tradeInfo = toTradeInfo(trade);
|
||||
var reply = TakeOfferReply.newBuilder()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue