Implemented "Bob-side" constructor

This commit is contained in:
Marcin Kostrzewski 2020-10-28 17:26:13 +01:00
parent 3dd55f3a32
commit f7b3aaf3ee

View File

@ -49,7 +49,9 @@ public class Commitment {
}
}
public Commitment() {
public Commitment(byte[] sequenceA, byte[] hash) {
this.sequenceA = sequenceA;
this.hash = hash;
}
public boolean checkHash() {