Skip to content

Commit

Permalink
fix: error message
Browse files Browse the repository at this point in the history
  • Loading branch information
lydiagarms committed Sep 4, 2024
1 parent 654bc6d commit af673e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/boilerplate/common/commitment-storage.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ export function getInputCommitments(
function getStructInputCommitments(value, possibleCommitments) {
if (possibleCommitments.length === 1) {
throw new Error(
"There is only one non-nullified commitment for state variable total_msgSender. Split commitments is not yet supported for structs, and so at least two commitments are required."
"There is only one non-nullified commitment for a struct state variable. Split commitments is not yet supported for structs, and so at least two commitments are required."
);
} else if (possibleCommitments.length < 2){
throw new Error(
Expand Down

0 comments on commit af673e0

Please sign in to comment.