@ckbfs/api 2.0.8 → 2.0.9
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.
|
@@ -350,7 +350,6 @@ async function createAppendV3Transaction(signer, options) {
|
|
|
350
350
|
// Add more inputs to cover the increased capacity
|
|
351
351
|
await preTx.completeInputsByCapacity(signer);
|
|
352
352
|
}
|
|
353
|
-
await preTx.completeInputsByCapacity(signer);
|
|
354
353
|
const witnesses = [];
|
|
355
354
|
// add empty witness for signer if ckbfs's lock is the same as signer's lock
|
|
356
355
|
if (address.script.hash() === lock.hash()) {
|
package/package.json
CHANGED
|
@@ -519,8 +519,6 @@ export async function createAppendV3Transaction(
|
|
|
519
519
|
await preTx.completeInputsByCapacity(signer);
|
|
520
520
|
}
|
|
521
521
|
|
|
522
|
-
await preTx.completeInputsByCapacity(signer);
|
|
523
|
-
|
|
524
522
|
const witnesses: any = [];
|
|
525
523
|
// add empty witness for signer if ckbfs's lock is the same as signer's lock
|
|
526
524
|
if (address.script.hash() === lock.hash()) {
|
|
@@ -781,4 +779,4 @@ export async function transferCKBFSV3(
|
|
|
781
779
|
): Promise<Transaction> {
|
|
782
780
|
const tx = await createTransferV3Transaction(signer, options);
|
|
783
781
|
return signer.signTransaction(tx);
|
|
784
|
-
}
|
|
782
|
+
}
|