Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
steelgeek091 committed Jul 18, 2024
1 parent 7e6a1e1 commit 790397f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moveos/moveos-verifier/src/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2041,7 +2041,7 @@ pub fn check_metadata_compatibility(
None => {
return generate_vm_error(
ErrorCode::MALFORMED_METADATA,
"function should not return values".to_string(),
"malformed metadata format".to_string(),
None,
old_module,
);
Expand All @@ -2053,7 +2053,7 @@ pub fn check_metadata_compatibility(
None => {
return generate_vm_error(
ErrorCode::MALFORMED_METADATA,
"function should not return values".to_string(),
"malformed metadata format".to_string(),
None,
new_module,
);
Expand Down

0 comments on commit 790397f

Please sign in to comment.