mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-11-12 21:57:13 +00:00
take module as ref in is_deterministic
This commit is contained in:
1 parent
93647ec3df
commit
6e5c2282bf
2 files changed
+4
-4
No files matched your search
@@ -17,7 +17,7 @@ fn main() {
|
||||
// Loading module
|
||||
let module = parity_wasm::deserialize_file(&args[1]).expect("Module deserialization to succeed");
|
||||
|
||||
if wasm_utils::is_deterministic(module) {
|
||||
if wasm_utils::is_deterministic(&module) {
|
||||
println!("Module is deterministic");
|
||||
} else {
|
||||
println!("Module is not deterministic");
|
||||
|
||||
Reference in new issue
Block a user