Skip to content

Commit

Permalink
feat(client): add default value of for proof (#1997)
Browse files Browse the repository at this point in the history
  • Loading branch information
javadkh2 authored Dec 5, 2024
1 parent e2f4f61 commit 1f46bee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-bats-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@kadena/client': patch
---

Add a default value `null` for the proof
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ const finalizeCommand = (
...finalCommand.meta,
};
}
if (finalCommand.payload && 'cont' in finalCommand.payload) {
finalCommand.payload.cont.proof ??= null;
}
return finalCommand;
};

Expand Down

0 comments on commit 1f46bee

Please sign in to comment.