The list of payment method should not depends on configuration of the users

This commit is contained in:
nicolas.dorier 2019-06-04 01:40:23 +09:00
parent d418cf7b07
commit 8e2bcef824
No known key found for this signature in database
GPG key ID: 6618763EF09186FE
2 changed files with 2 additions and 3 deletions

View file

@ -514,8 +514,7 @@ namespace BTCPayServer.Services.Invoices
r.PaymentType = paymentMethodId.PaymentType.ToString();
r.ParentEntity = this;
r.Network = Networks?.GetNetwork<BTCPayNetworkBase>(r.CryptoCode);
if (r.Network != null || Networks == null)
paymentMethods.Add(r);
paymentMethods.Add(r);
}
}
#pragma warning restore CS0618

View file

@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<Version>1.0.3.110</Version>
<Version>1.0.3.111</Version>
</PropertyGroup>
</Project>