Enable null network.
MODIFY
WalletWasabi/Exceptions/NotSupportedNetworkException.cs
WalletWasabi/Exceptions/NotSupportedNetworkException.cs
@@ -5,8 +5,8 @@ namespace WalletWasabi.Exceptions
{
public class NotSupportedNetworkException : NotSupportedException
{
- public NotSupportedNetworkException(Network network)
- : base($"{nameof(Network)} not supported: {network}.")
+ public NotSupportedNetworkException(Network? network)
+ : base(network is null ? $"{nameof(Network)} wasn't specified." : $"{nameof(Network)} not supported: {network}.")
{
}
}

Enable null network.