ecdsa: remove implicit ecparams

This commit is contained in:
Daniel Cousens 2014-05-17 15:06:52 +10:00
parent ab2ca395ac
commit bcfd62fdb5
5 changed files with 23 additions and 22 deletions

View file

@ -63,7 +63,7 @@ ECKey.prototype.toWIF = function(version) {
// Operations
ECKey.prototype.sign = function(hash) {
return ecdsa.sign(hash, this.D)
return ecdsa.sign(ecparams, hash, this.D)
}
module.exports = ECKey