Resolve null warning in BitcoinAddressJsonConverter.cs
MODIFY
WalletWasabi/JsonConverters/BitcoinAddressJsonConverter.cs
WalletWasabi/JsonConverters/BitcoinAddressJsonConverter.cs
@@ -14,7 +14,7 @@ namespace WalletWasabi.JsonConverters
}
/// <inheritdoc />
- public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
+ public override object? ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
{
var bitcoinAddressString = reader.Value as string;
if (string.IsNullOrWhiteSpace(bitcoinAddressString))

Resolve null warning in BitcoinAddressJsonConverter.cs