| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2e215f1 commit 43e7e8d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -191,8 +191,6 @@ ECDH.prototype.generateKeys = function generateKeys(encoding, format) { | |||
| 191 | 191 | ECDH.prototype.getPublicKey = function getPublicKey(encoding, format) { | |
| 192 | 192 | var f; | |
| 193 | 193 | if (format) { | |
| 194 | - if (typeof format === 'number') | ||
| 195 | - f = format; | ||
| 196 | 194 | if (format === 'compressed') | |
| 197 | 195 | f = POINT_CONVERSION_COMPRESSED; | |
| 198 | 196 | else if (format === 'hybrid') | |
| Back | FazBrowse Home | New Git URL |
0 commit comments