LabelJsonConverter -> SmartLabelJsonConverter
RENAME
WalletWasabi/JsonConverters/LabelJsonConverter.cs
WalletWasabi/JsonConverters/SmartLabelJsonConverter.cs
@@ -6,7 +6,7 @@ using WalletWasabi.Models;
namespace WalletWasabi.JsonConverters
{
- public class LabelJsonConverter : JsonConverter
+ public class SmartLabelJsonConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{

MODIFY
WalletWasabi/KeyManagement/HdPubKey.cs
WalletWasabi/KeyManagement/HdPubKey.cs
@@ -20,7 +20,7 @@ namespace WalletWasabi.KeyManagement
public KeyPath FullKeyPath { get; }
[JsonProperty(Order = 3)]
- [JsonConverter(typeof(LabelJsonConverter))]
+ [JsonConverter(typeof(SmartLabelJsonConverter))]
public SmartLabel Label { get; private set; }
[JsonProperty(Order = 4)]

MODIFY
WalletWasabi/Models/SmartCoin.cs
WalletWasabi/Models/SmartCoin.cs
@@ -99,7 +99,7 @@ namespace WalletWasabi.Models
/// Always set it before the Amount!
/// </summary>
[JsonProperty]
- [JsonConverter(typeof(LabelJsonConverter))]
+ [JsonConverter(typeof(SmartLabelJsonConverter))]
public SmartLabel Label
{
get => _label;

MODIFY
WalletWasabi/Models/SmartTransaction.cs
WalletWasabi/Models/SmartTransaction.cs
@@ -28,7 +28,7 @@ namespace WalletWasabi.Models
public int BlockIndex { get; private set; }
[JsonProperty]
- [JsonConverter(typeof(LabelJsonConverter))]
+ [JsonConverter(typeof(SmartLabelJsonConverter))]
public SmartLabel Label { get; set; }
public bool Confirmed => Height.Type == HeightType.Chain;

LabelJsonConverter -> SmartLabelJsonConverter