Add new required network argument
MODIFY
WalletWasabi/JsonConverters/BitcoinEncryptedSecretNoECJsonConverter.cs
WalletWasabi/JsonConverters/BitcoinEncryptedSecretNoECJsonConverter.cs
using NBitcoin;
using Newtonsoft.Json;
using System;
+using System.Linq;
namespace WalletWasabi.JsonConverters
{
@@ -22,7 +23,7 @@ namespace WalletWasabi.JsonConverters
return null;
}
- return new BitcoinEncryptedSecretNoEC(value);
+ return new BitcoinEncryptedSecretNoEC(value, Network.Main); // The `network` is required but the encoding doesn't depend on it.
}
/// <inheritdoc />

Add new required network argument