mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Remove unused Network property
This commit is contained in:
committed by
Andrew Camilleri
parent
8249d8a0f5
commit
4785f0a4dd
@@ -259,7 +259,6 @@ namespace BTCPayServer.Controllers
|
|||||||
{
|
{
|
||||||
walletVm.Balance = "";
|
walletVm.Balance = "";
|
||||||
}
|
}
|
||||||
walletVm.Network = wallet.Network;
|
|
||||||
walletVm.CryptoCode = wallet.Network.CryptoCode;
|
walletVm.CryptoCode = wallet.Network.CryptoCode;
|
||||||
walletVm.StoreId = wallet.Store.Id;
|
walletVm.StoreId = wallet.Store.Id;
|
||||||
walletVm.Id = new WalletId(wallet.Store.Id, wallet.Network.CryptoCode);
|
walletVm.Id = new WalletId(wallet.Store.Id, wallet.Network.CryptoCode);
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ namespace BTCPayServer.Models.WalletViewModels
|
|||||||
public string Balance { get; set; }
|
public string Balance { get; set; }
|
||||||
public bool IsOwner { get; set; }
|
public bool IsOwner { get; set; }
|
||||||
public WalletId Id { get; set; }
|
public WalletId Id { get; set; }
|
||||||
public BTCPayNetwork Network { get; set; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Dictionary<BTCPayNetwork, IMoney> BalanceForCryptoCode { get; set; } = new Dictionary<BTCPayNetwork, IMoney>();
|
public Dictionary<BTCPayNetwork, IMoney> BalanceForCryptoCode { get; set; } = new Dictionary<BTCPayNetwork, IMoney>();
|
||||||
|
|||||||
Reference in New Issue
Block a user