Remove unused Network property

This commit is contained in:
Dennis Reimann
2021-09-29 11:29:35 +02:00
committed by Andrew Camilleri
parent 8249d8a0f5
commit 4785f0a4dd
2 changed files with 0 additions and 2 deletions

View File

@@ -259,7 +259,6 @@ namespace BTCPayServer.Controllers
{
walletVm.Balance = "";
}
walletVm.Network = wallet.Network;
walletVm.CryptoCode = wallet.Network.CryptoCode;
walletVm.StoreId = wallet.Store.Id;
walletVm.Id = new WalletId(wallet.Store.Id, wallet.Network.CryptoCode);

View File

@@ -14,7 +14,6 @@ namespace BTCPayServer.Models.WalletViewModels
public string Balance { get; set; }
public bool IsOwner { get; set; }
public WalletId Id { get; set; }
public BTCPayNetwork Network { get; set; }
}
public Dictionary<BTCPayNetwork, IMoney> BalanceForCryptoCode { get; set; } = new Dictionary<BTCPayNetwork, IMoney>();