Merge pull request #157 from ethers/master

assertion message
This commit is contained in:
Wei Lu 2014-04-25 14:51:38 +08:00
commit 960d931010

View file

@ -37,8 +37,8 @@ function implShamirsTrick(P, k, Q, l) {
}
function deterministicGenerateK(hash, secret) {
assert(Array.isArray(hash))
assert(Array.isArray(secret))
assert(Array.isArray(hash), 'hash must be array')
assert(Array.isArray(secret), 'secret must be array')
var vArr = []
var kArr = []