Dashboard balance fixes (#3876)

* Fix wallet balance for case crypto code == default currency

* Handle old NBXplorer backend case

* Cleanup
This commit is contained in:
d11n
2022-06-20 07:31:22 +02:00
committed by GitHub
parent b2a5b3c3c4
commit c943303a45
5 changed files with 66 additions and 34 deletions

View File

@@ -1,8 +1,5 @@
using System.Collections.Generic;
using BTCPayServer.Data;
using BTCPayServer.Lightning;
using BTCPayServer.Models;
using BTCPayServer.Models.StoreViewModels;
namespace BTCPayServer.Components.StoreLightningBalance;