Skip to content

Commit 1901bef

Browse files
committed
doc: correct missing 'await keyUtils.' prefix
1 parent 3964d8c commit 1901bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ let keyUtils = {
162162
},
163163

164164
getPublicKey: async function (txInput, i) {
165-
let privKeyBytes = getPrivateKey(txInput, i);
165+
let privKeyBytes = await keyUtils.getPrivateKey(txInput, i);
166166
let pubKeyBytes = await keyUtils.toPublicKey(privKeyBytes);
167167

168168
return pubKeyBytes;

0 commit comments

Comments
 (0)