@ckbfs/api 2.0.14 → 2.0.15

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.
@@ -353,9 +353,9 @@ async function createAppendV3Transaction(signer, options) {
353
353
  const witnesses = [];
354
354
  // var witnessOffsetIndex = 1;
355
355
  // // add empty witness for signer if ckbfs's lock is the same as signer's lock
356
- if (address.script.hash() === lock.hash()) {
357
- witnesses.push("0x");
358
- }
356
+ //if (address.script.hash() === lock.hash()) {
357
+ witnesses.push("0x");
358
+ //}
359
359
  // add ckbfs witnesses (skip the first witness which is for signing)
360
360
  witnesses.push(...preTx.witnesses.slice(1));
361
361
  // Add empty witnesses for additional signer inputs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckbfs/api",
3
- "version": "2.0.14",
3
+ "version": "2.0.15",
4
4
  "description": "SDK for CKBFS protocol on CKB",
5
5
  "license": "MIT",
6
6
  "author": "Code Monad<code@lab-11.org>",
@@ -522,9 +522,9 @@ export async function createAppendV3Transaction(
522
522
  const witnesses: any = [];
523
523
  // var witnessOffsetIndex = 1;
524
524
  // // add empty witness for signer if ckbfs's lock is the same as signer's lock
525
- if (address.script.hash() === lock.hash()) {
525
+ //if (address.script.hash() === lock.hash()) {
526
526
  witnesses.push("0x");
527
- }
527
+ //}
528
528
  // add ckbfs witnesses (skip the first witness which is for signing)
529
529
  witnesses.push(...preTx.witnesses.slice(1));
530
530