aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js/index.js2
-rw-r--r--src/js/stellar-util.js9
2 files changed, 9 insertions, 2 deletions
diff --git a/src/js/index.js b/src/js/index.js
index 3aa78e0..64075d3 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -2694,7 +2694,7 @@
2694 { 2694 {
2695 name: "XLM - Stellar", 2695 name: "XLM - Stellar",
2696 onSelect: function() { 2696 onSelect: function() {
2697 network = ''; // doesn't apply, using stellar-lib 2697 network = stellarUtil.dummyNetwork;
2698 setHdCoin(148); 2698 setHdCoin(148);
2699 }, 2699 },
2700 }, 2700 },
diff --git a/src/js/stellar-util.js b/src/js/stellar-util.js
index a7032df..8722fbf 100644
--- a/src/js/stellar-util.js
+++ b/src/js/stellar-util.js
@@ -42503,7 +42503,14 @@ window.stellarUtil = {
42503 getKeypair: function (path, seed) { 42503 getKeypair: function (path, seed) {
42504 const result = edHd.derivePath(path, seed); 42504 const result = edHd.derivePath(path, seed);
42505 return StellarBase.Keypair.fromRawEd25519Seed(result.key); 42505 return StellarBase.Keypair.fromRawEd25519Seed(result.key);
42506 } 42506 },
42507 dummyNetwork: {
42508 bip32: {public: 0, private: 0},
42509 messagePrefix: '',
42510 pubKeyHash: 0,
42511 scriptHash: 0,
42512 wif: 0,
42513 },
42507} 42514}
42508 42515
42509},{"ed25519-hd-key":84,"stellar-base":412}]},{},[445]); 42516},{"ed25519-hd-key":84,"stellar-base":412}]},{},[445]);