|
|
@ -13,11 +13,11 @@ var ECDSA = function ECDSA(obj) { |
|
|
|
}; |
|
|
|
|
|
|
|
ECDSA.prototype.set = function(obj) { |
|
|
|
this.hashbuf = obj.hashbuf || this.hashbuf || undefined; |
|
|
|
this.keypair = obj.keypair || this.keypair || undefined; |
|
|
|
this.sig = obj.sig || this.sig || undefined; |
|
|
|
this.k = obj.k || this.k || undefined; |
|
|
|
this.verified = obj.verified || this.verified || undefined; |
|
|
|
this.hashbuf = obj.hashbuf || this.hashbuf; |
|
|
|
this.keypair = obj.keypair || this.keypair; |
|
|
|
this.sig = obj.sig || this.sig; |
|
|
|
this.k = obj.k || this.k; |
|
|
|
this.verified = obj.verified || this.verified; |
|
|
|
return this; |
|
|
|
}; |
|
|
|
|
|
|
|