Fix tests

This commit is contained in:
nicolas.dorier
2019-07-31 15:40:21 +09:00
parent 717cadc64b
commit 5d6c28c997

View File

@@ -269,7 +269,7 @@ namespace BTCPayServer.Controllers
handler
.IsPaymentMethodAllowedBasedOnInvoiceAmount(storeBlob, fetchingByCurrencyPair,
paymentMethod.Calculate().Due, supportedPaymentMethod.PaymentId);
if (errorMessage != null)
if (!string.IsNullOrEmpty(errorMessage))
{
logs.Write($"{logPrefix} {errorMessage}");
return null;