Fix a small typo

This commit is contained in:
Koh Wei Jie 2020-07-16 12:08:59 +08:00 committed by GitHub
parent e5b89dcc26
commit 0357b17795
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -56,7 +56,7 @@ export default async function challengeContribute(curve, challengeFilename, resp
} }
const claimedHash = await fdFrom.read(64, 0); const claimedHash = await fdFrom.read(64, 0);
if (logger) logger.info(misc.formatHash(claimedHash, "Claimed Previus Response Hash: ")); if (logger) logger.info(misc.formatHash(claimedHash, "Claimed Previous Response Hash: "));
const challengeHash = challengeHasher.digest(); const challengeHash = challengeHasher.digest();
if (logger) logger.info(misc.formatHash(challengeHash, "Current Challenge Hash: ")); if (logger) logger.info(misc.formatHash(challengeHash, "Current Challenge Hash: "));