Fix chaumian coinjoin controller test
MODIFY
WalletWasabi.Tests/RegTests.cs
WalletWasabi.Tests/RegTests.cs
@@ -1679,9 +1679,9 @@ namespace WalletWasabi.Tests
Assert.Equal(1, status.RegisteredPeerCount);
}
- var blindingKey = new BlindingRsaKey();
+ var blindingPubKey = Global.RsaKey.PubKey;
byte[] scriptHash = HashHelpers.GenerateSha256Hash(key.ScriptPubKey.ToBytes());
- var (BlindingFactor, BlindedData) = blindingKey.PubKey.Blind(scriptHash);
+ var (BlindingFactor, BlindedData) = blindingPubKey.Blind(scriptHash);
request.BlindedOutputHashHex = ByteHelpers.ToHex(BlindedData);
proof = key.SignMessage(request.BlindedOutputHashHex);
request.Inputs.First().Proof = proof;

Fix chaumian coinjoin controller test