diff options
-rw-r--r-- | changelog.md | 1 | ||||
-rw-r--r-- | src/js/index.js | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md index 37be5fd..26e79ba 100644 --- a/changelog.md +++ b/changelog.md | |||
@@ -2,3 +2,4 @@ | |||
2 | 2 | ||
3 | Add changelog | 3 | Add changelog |
4 | Display version number in top right | 4 | Display version number in top right |
5 | Add hex prefix to ethereum keys | ||
diff --git a/src/js/index.js b/src/js/index.js index b24a659..bb20938 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -592,6 +592,8 @@ | |||
592 | var hexAddress = addressBuffer.toString('hex'); | 592 | var hexAddress = addressBuffer.toString('hex'); |
593 | var checksumAddress = ethUtil.toChecksumAddress(hexAddress); | 593 | var checksumAddress = ethUtil.toChecksumAddress(hexAddress); |
594 | address = ethUtil.addHexPrefix(checksumAddress); | 594 | address = ethUtil.addHexPrefix(checksumAddress); |
595 | privkey = ethUtil.addHexPrefix(privkey); | ||
596 | pubkey = ethUtil.addHexPrefix(pubkey); | ||
595 | } | 597 | } |
596 | // Ripple values are different | 598 | // Ripple values are different |
597 | if (networks[DOM.network.val()].name == "Ripple") { | 599 | if (networks[DOM.network.val()].name == "Ripple") { |