aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/js/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js/index.js b/src/js/index.js
index 2c02721..e959c58 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -1141,6 +1141,7 @@
1141 } 1141 }
1142 //TRX is different 1142 //TRX is different
1143 if (networks[DOM.network.val()].name == "TRX - Tron") { 1143 if (networks[DOM.network.val()].name == "TRX - Tron") {
1144 keyPair = new libs.bitcoin.ECPair(keyPair.d, null, { network: network, compressed: false });
1144 var pubkeyBuffer = keyPair.getPublicKeyBuffer(); 1145 var pubkeyBuffer = keyPair.getPublicKeyBuffer();
1145 var ethPubkey = libs.ethUtil.importPublic(pubkeyBuffer); 1146 var ethPubkey = libs.ethUtil.importPublic(pubkeyBuffer);
1146 var addressBuffer = libs.ethUtil.publicToAddress(ethPubkey); 1147 var addressBuffer = libs.ethUtil.publicToAddress(ethPubkey);