mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore: silence unused warning (#4817)
This commit is contained in:
@ -774,11 +774,11 @@ mod tests {
|
||||
ctx.register_global_property("bigint", big_int, Attribute::all()).unwrap();
|
||||
|
||||
let obj = contract.clone().into_js_object(&mut ctx).unwrap();
|
||||
let s = r#"({
|
||||
let s = "({
|
||||
call: function(contract) { return contract.getCaller(); },
|
||||
value: function(contract) { return contract.getValue(); },
|
||||
input: function(contract) { return contract.getInput(); }
|
||||
})"#;
|
||||
})";
|
||||
|
||||
let eval_obj = ctx.eval(Source::from_bytes(s.as_bytes())).unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user