Precumpute on SmartTransaction instead.
MODIFY
WalletWasabi/JsonConverters/TransactionJsonConverter.cs
WalletWasabi/JsonConverters/TransactionJsonConverter.cs
@@ -17,8 +17,6 @@ namespace WalletWasabi.JsonConverters
{
var txHex = reader.Value.ToString();
var tx = Transaction.Parse(txHex, Network.Main);
- // Because we don't modify those transactions, we can cache the hash
- tx.PrecomputeHash(false, true);
return tx;
}

MODIFY
WalletWasabi/Transactions/SmartTransaction.cs
WalletWasabi/Transactions/SmartTransaction.cs
@@ -80,6 +80,9 @@ namespace WalletWasabi.Transactions
public SmartTransaction(Transaction transaction, Height height, uint256 blockHash = null, int blockIndex = 0, SmartLabel label = null, bool isReplacement = false, DateTimeOffset firstSeen = default)
{
Transaction = transaction;
+ // Because we don't modify those transactions, we can cache the hash
+ Transaction.PrecomputeHash(false, true);
+
Label = label ?? SmartLabel.Empty;
Height = height;

Precumpute on SmartTransaction instead.