From cde83b5b90864d010f49175f295885bf2c2c69a4 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Wed, 17 Nov 2021 09:38:14 +0100 Subject: [PATCH] Fix HKP example --- examples/fetch-key-hkp.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/fetch-key-hkp.js b/examples/fetch-key-hkp.js index 91a36ad..ef36df2 100644 --- a/examples/fetch-key-hkp.js +++ b/examples/fetch-key-hkp.js @@ -1,8 +1,8 @@ const doip = require('../src') const main = async () => { - // Fetch the key using WKD - const key = await doip.keys.fetchWKD("test@doip.rocks") + // Fetch the key using HKP + const key = await doip.keys.fetchHKP("test@doip.rocks") // Process it to extract the UIDs and their claims const obj = await doip.keys.process(key)