Skip to content

Commit

Permalink
Fixes error message in VM
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashy5000 committed Aug 16, 2024
1 parent ebf75f4 commit 7008161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/src/read_contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use smartstring::alias::String;
pub fn read_contract() -> String {
let args: Vec<std::string::String> = env::args().collect();
if args.len() != 4 {
panic!("Expected exactly 3 arguments, got {}", args.len())
panic!("Expected exactly 4 arguments, got {}", args.len())
}
let contract_path = &args[1];
fs::read_to_string(contract_path)
Expand Down

0 comments on commit 7008161

Please sign in to comment.