Undo mistakes
MODIFY
WalletWasabi/Crypto/Groups/GroupElement.cs
WalletWasabi/Crypto/Groups/GroupElement.cs
@@ -7,7 +7,7 @@ using WalletWasabi.Helpers;
namespace WalletWasabi.Crypto.Groups
{
- public class GroupElement : IEquatable<GroupElement>, IByteSerializable
+ public class GroupElement : IEquatable<GroupElement>
{
public GroupElement(GE groupElement)
{

DELETE
WalletWasabi/Crypto/Groups/IByteSerializable.cs
-namespace WalletWasabi.Crypto.Groups
-{
- public interface IByteSerializable
- {
- byte[] ToBytes();
- }
-}

MODIFY
WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Equation.cs
WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Equation.cs
@@ -50,12 +50,12 @@ namespace WalletWasabi.Crypto.ZeroKnowledge.LinearRelation
}
// Given a witness and secret nonces, respond to a challenge proving the equation holds w.r.t the witness
- internal ScalarVector Respond(ScalarVector witnesses, ScalarVector secretNonces, Scalar challenge)
+ internal ScalarVector Respond(ScalarVector witness, ScalarVector secretNonces, Scalar challenge)
{
// By canceling G on both sides of the verification equation above we can
// obtain a formula for the response s given k, e and x:
// s = k + ex
- return secretNonces + challenge * witnesses;
+ return secretNonces + challenge * witness;
}
}
}

Undo mistakes