aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelog.md1
-rw-r--r--src/js/index.js2
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
3Add changelog 3Add changelog
4Display version number in top right 4Display version number in top right
5Add 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") {