diff --git a/pkg/vm/vm_ops_maths.go b/pkg/vm/vm_ops_maths.go index ab4b52f71..264278092 100644 --- a/pkg/vm/vm_ops_maths.go +++ b/pkg/vm/vm_ops_maths.go @@ -296,9 +296,6 @@ func BoolAnd(op stack.Instruction, ctx *stack.Context, istack *stack.Invocation, return FAULT, err } res := bool1.And(bool2) - if err != nil { - return FAULT, err - } ctx.Estack.Push(res) @@ -315,9 +312,6 @@ func BoolOr(op stack.Instruction, ctx *stack.Context, istack *stack.Invocation, return FAULT, err } res := bool1.Or(bool2) - if err != nil { - return FAULT, err - } ctx.Estack.Push(res)