Implemented "Bob-side" constructor
This commit is contained in:
parent
3dd55f3a32
commit
f7b3aaf3ee
@ -49,7 +49,9 @@ public class Commitment {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Commitment() {
|
public Commitment(byte[] sequenceA, byte[] hash) {
|
||||||
|
this.sequenceA = sequenceA;
|
||||||
|
this.hash = hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean checkHash() {
|
public boolean checkHash() {
|
||||||
|
Loading…
Reference in New Issue
Block a user