]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/commitdiff
Change Bitcoin Gold coin number to 156
authorIan Coleman <ian@iancoleman.io>
Mon, 26 Mar 2018 23:22:48 +0000 (10:22 +1100)
committerIan Coleman <ian@iancoleman.io>
Mon, 26 Mar 2018 23:24:35 +0000 (10:24 +1100)
Closes #189

src/js/index.js
tests/spec/tests.js

index b1ca0660885a5026061430633e46b3f573d440ad..4baa14c9d9349ff69d68df5a929488f5daaff280 100644 (file)
             segwitAvailable: true,
             onSelect: function() {
                 network = bitcoinjs.bitcoin.networks.bgold;
-                setHdCoin(0);
+                setHdCoin(156);
             },
         },
         {
index 0944be4bbe8e4b4f6b1e59b290b8ad28b7fc2a2e..8774a32a6524fc8bccf316009039bce30517361b 100644 (file)
@@ -602,7 +602,7 @@ it('Allows selection of nubits', function(done) {
 it('Allows selection of bitcoin gold', function(done) {
     var params = {
         selectText: "BTG - Bitcoin Gold",
-        firstAddress: "GWYxuwSqANWGV3WT7Gpr6HE91euYXBqtwQ",
+        firstAddress: "GdDqug4WUsn5syNbSTHatNn4XnuwZtzedx",
     };
     testNetwork(done, params);
 });