Browse Source

Made return work

hk-custom-address
Vitalik Buterin 11 years ago
parent
commit
f58543b81a
  1. 5
      src/eckey.js

5
src/eckey.js

@ -117,9 +117,8 @@ ECPubKey.prototype.multiply = function(key) {
ECPubKey.prototype.export = function(formt) {
var o = this.pub.getEncoded(this.compressed)
return
formt == 'hex' ? conv.bytesToHex(o)
: formt == 'bin' ? conv.bytesToString(o)
return formt == 'hex' ? conv.bytesToHex(o)
: formt == 'bin' ? conv.bytesToString(o)
: o;
}

Loading…
Cancel
Save