From bf7cf575a5946cad77f01c6cdf0deec721c25022 Mon Sep 17 00:00:00 2001 From: Todd Fleming Date: Fri, 9 Aug 2019 13:24:34 -0400 Subject: [PATCH] typo --- src/eosjs-numeric.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/eosjs-numeric.ts b/src/eosjs-numeric.ts index 02cd9217c..94c41a79d 100644 --- a/src/eosjs-numeric.ts +++ b/src/eosjs-numeric.ts @@ -366,8 +366,8 @@ export function stringToPrivateKey(s: string): Key { return stringToKey(s.substr(7), KeyType.r1, privateKeyDataSize, 'R1'); } else { // todo: Verify checksum: sha256(sha256(key.data)). - // Not critical since a bad key will fail to produce an - // invalid signature anyway. + // Not critical since a bad key will fail to produce a + // valid signature anyway. const whole = base58ToBinary(privateKeyDataSize + 5, s); const key = { type: KeyType.k1, data: new Uint8Array(privateKeyDataSize) }; if (whole[0] !== 0x80) {