From 8652a32c5c10dd960170a51b8da94af58f8649ea Mon Sep 17 00:00:00 2001 From: Basit Raza Date: Wed, 11 Oct 2017 11:05:34 +0500 Subject: [PATCH] Not enough values to unpack (expected 4, got 2) When contract test invoke is not successful, got error message ValueError: not enough values to unpack (expected 4, got 2) --- neo/Prompt/Commands/Invoke.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neo/Prompt/Commands/Invoke.py b/neo/Prompt/Commands/Invoke.py index 8146e987b..b4486fb38 100644 --- a/neo/Prompt/Commands/Invoke.py +++ b/neo/Prompt/Commands/Invoke.py @@ -234,12 +234,12 @@ def test_invoke(script, wallet, outputs): # tx.Gas = Fixed8.One() # tx.Attributes = [] # return tx, [] - return None,[] + return None,None, None, None except Exception as e: print("COULD NOT EXECUTE %s " % e) - return None,[] + return None,None, None, None