Skip to content

Commit 1c36e8d

Browse files
committed
fix(spore): Ensure proper Transaction kept
1 parent 42ef0ea commit 1c36e8d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/twenty-years-type.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@ckb-ccc/spore": patch
3+
---
4+
5+
fix(spore): Ensure proper Transaction kept
6+

packages/spore/src/cobuild/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export async function prepareSporeTransaction(
164164
}
165165

166166
const existedActions = extractCobuildActionsFromTx(tx);
167-
tx = await signer.prepareTransaction(tx);
167+
tx = ccc.Transaction.from(await signer.prepareTransaction(tx));
168168
injectCobuild(tx, [existedActions, actions].flat());
169169
return tx;
170170
}

0 commit comments

Comments
 (0)