@exodus/bitcoinjs-lib-forks 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.0.2 / 2018-12-12
2
+
3
+ - Remove unneeded BCH fork changes
4
+
1
5
  # 0.0.1 / 2018-11-14
2
6
 
3
7
  Initial release, with 2018-11-15 BCH (BitcoinABC) HF support.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/bitcoinjs-lib-forks",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Client-side Bitcoin Forks JavaScript library",
5
5
  "main": "./src/index.js",
6
6
  "engines": {
@@ -37,7 +37,7 @@ Transaction.SIGHASH_BITCOINCASHBIP143 = 0x40
37
37
  Transaction.ADVANCED_TRANSACTION_MARKER = 0x00
38
38
  Transaction.ADVANCED_TRANSACTION_FLAG = 0x01
39
39
  Transaction.FORKID_BTG = 0x4F // 79
40
- Transaction.FORKID_BCH = 0xFF0001
40
+ Transaction.FORKID_BCH = 0x00
41
41
 
42
42
  var EMPTY_SCRIPT = Buffer.allocUnsafe(0)
43
43
  var EMPTY_WITNESS = []