From 887a2afe774fd701c2e3b4c161aad2f5a6b31c09 Mon Sep 17 00:00:00 2001 From: garrettmills Date: Sat, 10 Apr 2021 05:50:51 -0500 Subject: [PATCH] Fix reference client implementation - swapped hash gen --- test_clients.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_clients.js b/test_clients.js index 96aac32..e8adb00 100644 --- a/test_clients.js +++ b/test_clients.js @@ -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({