mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-23 15:14:49 +01:00
If shitcoins are removed, dont try to hash its cryptocode for nbx (#5373)
This commit is contained in:
@@ -29,7 +29,7 @@ namespace BTCPayServer.Data
|
||||
if (index == -1)
|
||||
return PaymentMethodId.Parse("BTC");
|
||||
/////////////////////////
|
||||
return PaymentMethodId.Parse(addressInvoiceData.Address.Substring(index + 1));
|
||||
return PaymentMethodId.TryParse(addressInvoiceData.Address.Substring(index + 1));
|
||||
}
|
||||
#pragma warning restore CS0618
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user