Use chanied constructor
MODIFY
WalletWasabi/Blockchain/Keys/BlockchainState.cs
WalletWasabi/Blockchain/Keys/BlockchainState.cs
@@ -15,16 +15,14 @@ namespace WalletWasabi.Blockchain.Keys
Height = height;
}
- public BlockchainState(Network network)
+ public BlockchainState()
{
- Network = network;
+ Network = Network.Main;
Height = 0;
}
- public BlockchainState()
+ public BlockchainState(Network network) : this(network, 0)
{
- Network = Network.Main;
- Height = 0;
}
[JsonProperty]

Use chanied constructor