From: Ian Coleman Date: Thu, 16 Nov 2017 04:11:01 +0000 (+1100) Subject: Fix ordering of networks to be alphabetical X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git;a=commitdiff_plain;h=f487fea9b8b37642a3940be63129d9835eb77229 Fix ordering of networks to be alphabetical --- diff --git a/src/js/index.js b/src/js/index.js index f291395..739dc01 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -1414,7 +1414,14 @@ setHdCoin(13); }, }, - + { + name: "MONA - Monacoin", + p2wpkhNestedInP2shAvailable: true, + onSelect: function() { + network = bitcoinjs.bitcoin.networks.monacoin, + setHdCoin(22); + }, + }, { name: "NMC - Namecoin", p2wpkhNestedInP2shAvailable: false, @@ -1518,14 +1525,6 @@ network = bitcoinjs.bitcoin.networks.bitcoin; setHdCoin(144); }, - }, - { - name: "MONA - Monacoin", - p2wpkhNestedInP2shAvailable: true, - onSelect: function() { - network = bitcoinjs.bitcoin.networks.monacoin, - setHdCoin(22); - }, } ]