remove dead code

This commit is contained in:
Manuel Araoz 2014-12-19 18:54:10 -03:00
parent fb57a60666
commit 686bc091ba

View File

@ -58,23 +58,6 @@ ECDSA.prototype.calci = function() {
ECDSA.fromString = function(str) {
var obj = JSON.parse(str);
return new ECDSA(obj);
if (obj.hashbuf) {
this.hashbuf = new Buffer(obj.hashbuf, 'hex');
}
if (obj.pubkey) {
this.pubkey = PublicKey.fromString(obj.pubkey);
}
if (obj.privkey) {
this.privkey = PrivateKey.fromString(obj.privkey);
}
if (obj.sig) {
this.sig = Signature.fromString(obj.sig);
}
if (obj.k) {
this.k = BN(obj.k, 10);
}
return this;
};
ECDSA.prototype.randomK = function() {