Remove "enabled" option from address preview endpoint

This commit is contained in:
Umar Bolatov
2021-08-29 19:07:12 -07:00
committed by Andrew Camilleri
parent 0d08bd3ad1
commit d39ec97b9a
3 changed files with 34 additions and 13 deletions

View File

@@ -144,7 +144,7 @@ namespace BTCPayServer.Controllers.GreenField
public IActionResult GetProposedOnChainPaymentMethodPreview(
string storeId,
string cryptoCode,
[FromBody] OnChainPaymentMethodData paymentMethodData,
[FromBody] OnChainPaymentMethodDataPreview paymentMethodData,
int offset = 0, int amount = 10)
{
if (!GetCryptoCodeWallet(cryptoCode, out var network, out BTCPayWallet _))