Merge remote-tracking branch 'origin/master' into feature/bitpayrates

This commit is contained in:
Andrew Camilleri
2018-07-27 11:16:52 +02:00
11 changed files with 45 additions and 36 deletions

View File

@@ -262,7 +262,7 @@ namespace BTCPayServer.Controllers
{
CurrencyPair = fetch.Key.ToString(),
Error = testResult.Errors.Count != 0,
Rule = testResult.Errors.Count == 0 ? testResult.Rule + " = " + testResult.Value.Value.ToString(CultureInfo.InvariantCulture)
Rule = testResult.Errors.Count == 0 ? testResult.Rule + " = " + testResult.BidAsk.Bid.ToString(CultureInfo.InvariantCulture)
: testResult.EvaluatedRule
});
}