mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-23 15:14:49 +01:00
potentially fix #5764
This commit is contained in:
@@ -12,6 +12,8 @@ namespace BTCPayServer
|
||||
{
|
||||
switch (m)
|
||||
{
|
||||
case null:
|
||||
return 0m;
|
||||
case Money money:
|
||||
return money.ToDecimal(MoneyUnit.BTC);
|
||||
case MoneyBag mb:
|
||||
|
||||
Reference in New Issue
Block a user