diff options
author | iancoleman <coleman.ian@gmail.com> | 2014-09-27 09:12:54 +1000 |
---|---|---|
committer | iancoleman <coleman.ian@gmail.com> | 2014-09-27 09:12:54 +1000 |
commit | 3f45abbf926973fa2f37ebba8e58ba2d9c25c8c8 (patch) | |
tree | 20d600c1d40db9eb982cb218652dd5aa21277507 /bip39-standalone.html | |
parent | bade150497a0459a8cb3b4a5cde315117b8430a7 (diff) | |
parent | ec1e50dfeb447195942d352b929599c6f6f34ada (diff) | |
download | BIP39-3f45abbf926973fa2f37ebba8e58ba2d9c25c8c8.tar.gz BIP39-3f45abbf926973fa2f37ebba8e58ba2d9c25c8c8.tar.zst BIP39-3f45abbf926973fa2f37ebba8e58ba2d9c25c8c8.zip |
Merge pull request #2 from robjohnson189/networkfix
passing in network to toWIF
Diffstat (limited to 'bip39-standalone.html')
-rw-r--r-- | bip39-standalone.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bip39-standalone.html b/bip39-standalone.html index 22d7120..41634c2 100644 --- a/bip39-standalone.html +++ b/bip39-standalone.html | |||
@@ -22942,7 +22942,7 @@ WORDLISTS = { | |||
22942 | var index = i+ start; | 22942 | var index = i+ start; |
22943 | var key = bip32ExtendedKey.derive(index); | 22943 | var key = bip32ExtendedKey.derive(index); |
22944 | var address = key.getAddress().toString(); | 22944 | var address = key.getAddress().toString(); |
22945 | var privkey = key.privKey.toWIF(); | 22945 | var privkey = key.privKey.toWIF(network); |
22946 | addAddressToList(index, address, privkey); | 22946 | addAddressToList(index, address, privkey); |
22947 | } | 22947 | } |
22948 | } | 22948 | } |