Bring computed properties to the end of the property list
MODIFY
WalletWasabi/Models/SmartTransaction.cs
WalletWasabi/Models/SmartTransaction.cs
@@ -31,12 +31,6 @@ namespace WalletWasabi.Models
[JsonConverter(typeof(SmartLabelJsonConverter))]
public SmartLabel Label { get; set; }
- public bool Confirmed => Height.Type == HeightType.Chain;
-
- public uint256 GetHash() => Transaction.GetHash();
-
- public int GetConfirmationCount(Height bestHeight) => Height == Height.Mempool ? 0 : bestHeight.Value - Height.Value + 1;
-
[JsonProperty]
[JsonConverter(typeof(DateTimeOffsetUnixSecondsConverter))]
public DateTimeOffset FirstSeen { get; private set; }
@@ -62,6 +56,12 @@ namespace WalletWasabi.Models
[JsonProperty]
public bool IsReplacement { get; private set; }
+ public bool Confirmed => Height.Type == HeightType.Chain;
+
+ public uint256 GetHash() => Transaction.GetHash();
+
+ public int GetConfirmationCount(Height bestHeight) => Height == Height.Mempool ? 0 : bestHeight.Value - Height.Value + 1;
+
/// <summary>
/// A transaction can signal that is replaceable by fee in two ways:
/// * Explicitly by using a nSequence &lt; (0xffffffff - 1) or,

Bring computed properties to the end of the property list