Skip to content

Commit

Permalink
[kadena-cli] Fix warning when passing -u in tx sign (#2842)
Browse files Browse the repository at this point in the history
* bugfix(kadena-cli): fix warning when passing -u in tx sign

* changeset(wallet-sdk): patch bump

---------

Co-authored-by: Bart Huijgen <barthuijgen@users.noreply.github.com>
  • Loading branch information
barthuijgen and barthuijgen authored Jan 29, 2025
1 parent 6dbee7b commit d99871a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/moody-poems-rescue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@kadena/kadena-cli': patch
---

Fixed warning when passing -u in tx sign
2 changes: 1 addition & 1 deletion packages/tools/kadena-cli/src/commands/tx/txOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const txOptions = {
txUnsignedTransactionFiles: createOption({
key: 'txUnsignedTransactionFiles',
prompt: tx.transactionsSelectPrompt,
validation: z.array(z.string()),
validation: z.string().or(z.array(z.string())),
option: new Option(
'-u, --tx-unsigned-transaction-files <txUnsignedTransactionFiles>',
'provide your unsigned transaction file(s) to sign',
Expand Down

0 comments on commit d99871a

Please sign in to comment.