Fix reference client implementation - swapped hash gen

working-state
Garrett Mills 3 years ago
parent 0cb38027a1
commit 887a2afe77
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

@ -17,7 +17,7 @@ class TestClient {
}
async interactWith(otherClient) {
const hash = this.getHash(otherClient.id)
const hash = otherClient.getHash(this.id)
const message = openpgp.Message.fromText(hash)
const signature = (await openpgp.sign({
message, privateKeys: await openpgp.readKey({

Loading…
Cancel
Save