From 9a0f992cb3242108ddf64d65476097d8742f2204 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Tue, 8 Dec 2020 17:24:59 +0100 Subject: [PATCH] Use results length as arity --- src/stack_height/max_height.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/stack_height/max_height.rs b/src/stack_height/max_height.rs index f270bb5..260345e 100644 --- a/src/stack_height/max_height.rs +++ b/src/stack_height/max_height.rs @@ -173,11 +173,7 @@ pub(crate) fn compute(func_idx: u32, module: &elements::Module) -> Result Result { @@ -295,7 +291,7 @@ pub(crate) fn compute(func_idx: u32, module: &elements::Module) -> Result {