Fix test hdpubkey state
MODIFY
WalletWasabi.Tests/UnitTests/TransactionFactoryTests.cs
WalletWasabi.Tests/UnitTests/TransactionFactoryTests.cs
@@ -455,6 +455,7 @@ namespace WalletWasabi.Tests.UnitTests
new TxoRef(RandomUtils.GetUInt256(), (uint)randomIndex())
};
pubKey.SetLabel(slabel);
+ pubKey.SetKeyState(KeyState.Used);
return new SmartCoin(RandomUtils.GetUInt256(), (uint)randomIndex(), pubKey.P2wpkhScript, Money.Coins(amount), spentOutput, height, false, anonymitySet, false, slabel, pubKey: pubKey);
}
}

Fix test hdpubkey state