diff options
author | Robert Johnson <sk8boy189@gmail.com> | 2014-09-26 09:31:05 -0500 |
---|---|---|
committer | Robert Johnson <sk8boy189@gmail.com> | 2014-09-26 09:31:05 -0500 |
commit | ec1e50dfeb447195942d352b929599c6f6f34ada (patch) | |
tree | 20d600c1d40db9eb982cb218652dd5aa21277507 /bip39-standalone.html | |
parent | bade150497a0459a8cb3b4a5cde315117b8430a7 (diff) | |
download | BIP39-ec1e50dfeb447195942d352b929599c6f6f34ada.tar.gz BIP39-ec1e50dfeb447195942d352b929599c6f6f34ada.tar.zst BIP39-ec1e50dfeb447195942d352b929599c6f6f34ada.zip |
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 | } |