ecdsa: remove implicit ecparams
This commit is contained in:
parent
ab2ca395ac
commit
bcfd62fdb5
5 changed files with 23 additions and 22 deletions
src
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue