use default crypto for /rates route

This commit is contained in:
Andrew Camilleri
2018-07-27 07:54:55 +02:00
parent 25e9a27a78
commit 64181d1a93
4 changed files with 10 additions and 15 deletions

View File

@@ -213,7 +213,7 @@ namespace BTCPayServer.Controllers
bool isDefaultCrypto = false;
if (paymentMethodIdStr == null)
{
paymentMethodIdStr = store.GetDefaultCrypto();
paymentMethodIdStr = store.GetDefaultCrypto(_NetworkProvider);
isDefaultCrypto = true;
}