]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/commitdiff
Merge pull request #309 from robiiinos/fix-clam
authoriancoleman <1281387+iancoleman@users.noreply.github.com>
Wed, 13 Mar 2019 23:39:24 +0000 (10:39 +1100)
committerGitHub <noreply@github.com>
Wed, 13 Mar 2019 23:39:24 +0000 (10:39 +1100)
Fix CLAM scriptHash

1  2 
src/js/bitcoinjs-extensions.js

index c9d05b8d7692be3d6303e28a8097201e8b6aecbf,78440bef2c73086837a14a587ed2100ac282d6c5..f65542e76de98b09d50458d9fbe78bb9f56a91da
@@@ -27,7 -27,7 +27,7 @@@ bitcoinjs.bitcoin.networks.clam = 
      private: 0xa8c17826
    },
    pubKeyHash: 0x89,
-   scriptHash: 0x00, // TODO set this correctly
+   scriptHash: 0x0D,
    wif: 0x85
  };
  
@@@ -93,7 -93,7 +93,7 @@@ bitcoinjs.bitcoin.networks.namecoin = 
      private: 0x0488ade4
    },
    pubKeyHash: 0x34,
 -  scriptHash: 0x00, // TODO set this correctly
 +  scriptHash: 0x0D,
    wif: 0x80
  };
  
@@@ -236,7 -236,7 +236,7 @@@ bitcoinjs.bitcoin.networks.myriadcoin 
      private: 0x0488ade4
    },
    pubKeyHash: 0x32,
 -  scriptHash: 0x00, // TODO set this correctly
 +  scriptHash: 0x09,
    wif: 0xb2
  };