Skip to content

Commit

Permalink
Improves governance error message
Browse files Browse the repository at this point in the history
  • Loading branch information
grarco committed Sep 8, 2024
1 parent e51834c commit 58383f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/governance/src/vp/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ where
if !proposal_type.is_default_with_wasm() {
return Err(Error::new_alloc(format!(
"Proposal with id {proposal_id} modified a proposal code key, \
but its type is not default.",
but its type is not allowed this change.",
)));
}

Expand Down

0 comments on commit 58383f8

Please sign in to comment.