Browse Source

"undefined"s are unnecessary

patch-2
Ryan X. Charles 11 years ago
parent
commit
3daeabaf30
  1. 10
      lib/ecdsa.js

10
lib/ecdsa.js

@ -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;
};

Loading…
Cancel
Save