diff options
author | Suat Özgür <s.oezguer@gmail.com> | 2019-06-12 11:47:01 +0200 |
---|---|---|
committer | Suat Özgür <s.oezguer@gmail.com> | 2019-06-12 11:47:01 +0200 |
commit | ad59508d7c4ecb487182d0d3306f01ffb4e48fb8 (patch) | |
tree | 7d833f2343d6f7290d0c95b229944d2a39622ee9 /libs | |
parent | 562ece8004ffa37a215f9cd0c5d365227a0b8d08 (diff) | |
download | BIP39-ad59508d7c4ecb487182d0d3306f01ffb4e48fb8.tar.gz BIP39-ad59508d7c4ecb487182d0d3306f01ffb4e48fb8.tar.zst BIP39-ad59508d7c4ecb487182d0d3306f01ffb4e48fb8.zip |
use dummyNetwork for stellar
Diffstat (limited to 'libs')
-rw-r--r-- | libs/stellar-util/stellar-util.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libs/stellar-util/stellar-util.js b/libs/stellar-util/stellar-util.js index a95d78d..008dfe6 100644 --- a/libs/stellar-util/stellar-util.js +++ b/libs/stellar-util/stellar-util.js | |||
@@ -5,5 +5,12 @@ window.stellarUtil = { | |||
5 | getKeypair: function (path, seed) { | 5 | getKeypair: function (path, seed) { |
6 | const result = edHd.derivePath(path, seed); | 6 | const result = edHd.derivePath(path, seed); |
7 | return StellarBase.Keypair.fromRawEd25519Seed(result.key); | 7 | return StellarBase.Keypair.fromRawEd25519Seed(result.key); |
8 | } | 8 | }, |
9 | dummyNetwork: { | ||
10 | bip32: {public: 0, private: 0}, | ||
11 | messagePrefix: '', | ||
12 | pubKeyHash: 0, | ||
13 | scriptHash: 0, | ||
14 | wif: 0, | ||
15 | }, | ||
9 | } | 16 | } |