Skip to content

Commit

Permalink
chore: Add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
duanyytop committed Dec 11, 2024
1 parent ad593c2 commit 0ceb255
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/bright-ducks-wonder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@joyid/ckb': minor
---

feat: Add calculateChallenge and buildSignedTx functions
2 changes: 1 addition & 1 deletion packages/ckb/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export const calculateChallenge = async (
utils.ckbHash(blockchain.RawTransaction.pack(tx))
)
const witnessArgs = blockchain.WitnessArgs.unpack(
tx.witnesses[firstWitnessIndex]
tx.witnesses[firstWitnessIndex]!
)
const emptyWitness = {
...witnessArgs,
Expand Down

0 comments on commit 0ceb255

Please sign in to comment.