From 59143a9c85f852bd1591309f1b27ea106fdce2b2 Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Fri, 9 Jan 2015 09:10:16 +1100 Subject: [PATCH] ecdsa: clarify why typeForce call is disabled until 2.0.0 --- src/ecdsa.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ecdsa.js b/src/ecdsa.js index e337feb..63c5cef 100644 --- a/src/ecdsa.js +++ b/src/ecdsa.js @@ -12,9 +12,10 @@ var ONE = new Buffer([1]) function deterministicGenerateK(curve, hash, d, checkSig) { typeForce('Buffer', hash) typeForce('BigInteger', d) + + // FIXME: remove/uncomment for 2.0.0 // typeForce('Function', checkSig) - // FIXME: remove in 2.0.0 if (typeof checkSig !== 'function') { console.warn('deterministicGenerateK requires a checkSig callback in 2.0.0, see #337 for more information')