@bsv/wallet-toolbox-mobile 1.6.27 → 1.6.29

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.
@@ -506,12 +506,12 @@ function validateScriptHash(output, outputFormat) {
506
506
  */
507
507
  function toBinaryBaseBlockHeader(header) {
508
508
  const writer = new sdk_1.Utils.Writer();
509
- writer.writeUInt32BE(header.version);
509
+ writer.writeUInt32LE(header.version);
510
510
  writer.writeReverse((0, utilityHelpers_noBuffer_1.asArray)(header.previousHash));
511
511
  writer.writeReverse((0, utilityHelpers_noBuffer_1.asArray)(header.merkleRoot));
512
- writer.writeUInt32BE(header.time);
513
- writer.writeUInt32BE(header.bits);
514
- writer.writeUInt32BE(header.nonce);
512
+ writer.writeUInt32LE(header.time);
513
+ writer.writeUInt32LE(header.bits);
514
+ writer.writeUInt32LE(header.nonce);
515
515
  const r = writer.toArray();
516
516
  return r;
517
517
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bsv/wallet-toolbox-mobile",
3
- "version": "1.6.27",
3
+ "version": "1.6.29",
4
4
  "description": "Client only Wallet Storage",
5
5
  "main": "./out/src/index.mobile.js",
6
6
  "types": "./out/src/index.mobile.d.ts",