mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 01:43:50 +01:00
Fix crash for installations supporting zcash or monero (#4610)
This commit is contained in:
parent
ed0ccd6f13
commit
a20408bed1
@ -1,5 +1,6 @@
|
||||
#if ALTCOINS
|
||||
using BTCPayServer.Payments;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace BTCPayServer.Services.Altcoins.Monero.Payments
|
||||
{
|
||||
@ -8,6 +9,7 @@ namespace BTCPayServer.Services.Altcoins.Monero.Payments
|
||||
|
||||
public string CryptoCode { get; set; }
|
||||
public long AccountIndex { get; set; }
|
||||
[JsonIgnore]
|
||||
public PaymentMethodId PaymentId => new PaymentMethodId(CryptoCode, MoneroPaymentType.Instance);
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
#if ALTCOINS
|
||||
using BTCPayServer.Payments;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace BTCPayServer.Services.Altcoins.Zcash.Payments
|
||||
{
|
||||
@ -8,6 +9,7 @@ namespace BTCPayServer.Services.Altcoins.Zcash.Payments
|
||||
|
||||
public string CryptoCode { get; set; }
|
||||
public long AccountIndex { get; set; }
|
||||
[JsonIgnore]
|
||||
public PaymentMethodId PaymentId => new PaymentMethodId(CryptoCode, ZcashPaymentType.Instance);
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<Version>1.7.6</Version>
|
||||
<Version>1.7.7</Version>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
13
Changelog.md
13
Changelog.md
@ -1,5 +1,18 @@
|
||||
# Changelog
|
||||
|
||||
## 1.7.7
|
||||
|
||||
Some users experienced Error 500 after login on to BTCPay Server from the 1.7.6.
|
||||
If it is your case, to update on docker deployments via the UI, you need to:
|
||||
|
||||
1. Start a browser session in incognito/private mode.
|
||||
2. Browse to `https://{yourserver}/server/maintenance`
|
||||
3. Hit update button
|
||||
|
||||
### Bug fixes
|
||||
|
||||
* Fix crash for installations supporting zcash or monero (#4610) @NicolasDorier
|
||||
|
||||
## 1.7.6
|
||||
|
||||
There are two vulnerabilities fixed in this release.
|
||||
|
Loading…
Reference in New Issue
Block a user