diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/index.html | 2 | ||||
-rw-r--r-- | src/js/segwit-parameters.js | 15 |
2 files changed, 7 insertions, 10 deletions
diff --git a/src/index.html b/src/index.html index 9b3dcad..36d753b 100644 --- a/src/index.html +++ b/src/index.html | |||
@@ -37,7 +37,7 @@ | |||
37 | <div class="form-inline"> | 37 | <div class="form-inline"> |
38 | <div class="input-group-inline"> | 38 | <div class="input-group-inline"> |
39 | <span>Generate a random mnemonic</span>: | 39 | <span>Generate a random mnemonic</span>: |
40 | <button class="btn generate" ><b>GENERATE</b></button> | 40 | <button class="btn generate" ><b>GENERATE</b></button> |
41 | <select id="strength" class="strength form-control"> | 41 | <select id="strength" class="strength form-control"> |
42 | <option value="3">3</option> | 42 | <option value="3">3</option> |
43 | <option value="6">6</option> | 43 | <option value="6">6</option> |
diff --git a/src/js/segwit-parameters.js b/src/js/segwit-parameters.js index 246ca10..dbb7572 100644 --- a/src/js/segwit-parameters.js +++ b/src/js/segwit-parameters.js | |||
@@ -161,11 +161,11 @@ bitcoinjs.bitcoin.networks.bgold.p2wpkhInP2sh = { | |||
161 | 161 | ||
162 | bitcoinjs.bitcoin.networks.digibyte.p2wpkh = { | 162 | bitcoinjs.bitcoin.networks.digibyte.p2wpkh = { |
163 | baseNetwork: "digibyte", | 163 | baseNetwork: "digibyte", |
164 | messagePrefix: '\x18DigiByte Signed Message:\n', | 164 | messagePrefix: '\x18DigiByte Signed Message:\n', |
165 | bech32: 'dgb', | 165 | bech32: 'dgb', |
166 | bip32: { | 166 | bip32: { |
167 | public: 0x0488B21E, | 167 | public: 0x0488B21E, |
168 | private: 0x0488ADE4 | 168 | private: 0x0488ADE4 |
169 | }, | 169 | }, |
170 | pubKeyHash: 0x1e, | 170 | pubKeyHash: 0x1e, |
171 | scriptHash: 0x3f, | 171 | scriptHash: 0x3f, |
@@ -174,17 +174,14 @@ bitcoinjs.bitcoin.networks.digibyte.p2wpkh = { | |||
174 | 174 | ||
175 | bitcoinjs.bitcoin.networks.digibyte.p2wpkhInP2sh = { | 175 | bitcoinjs.bitcoin.networks.digibyte.p2wpkhInP2sh = { |
176 | baseNetwork: "digibyte", | 176 | baseNetwork: "digibyte", |
177 | messagePrefix: '\x18DigiByte Signed Message:\n', | 177 | messagePrefix: '\x18DigiByte Signed Message:\n', |
178 | bech32: 'dgb', | 178 | bech32: 'dgb', |
179 | bip32: { | 179 | bip32: { |
180 | public: 0x0488B21E, | 180 | public: 0x0488B21E, |
181 | private: 0x0488ADE4 | 181 | private: 0x0488ADE4 |
182 | }, | 182 | }, |
183 | pubKeyHash: 0x1e, | 183 | pubKeyHash: 0x1e, |
184 | scriptHash: 0x3f, | 184 | scriptHash: 0x3f, |
185 | wif: 0x80 | 185 | wif: 0x80 |
186 | }; | 186 | }; |
187 | |||
188 | |||
189 | |||
190 | })(); | 187 | })(); |