From 2c89e4a01b9224ae1f0ccfb95f8398b50bbdb9e1 Mon Sep 17 00:00:00 2001 From: matteo-cristino Date: Thu, 21 Nov 2024 18:06:15 +0100 Subject: [PATCH] refactor(ethereum): remove the possibility to use a statement as an if since it has no zencode_assert in it probably was a unnoticed typo when writing it --- src/lua/zencode_ethereum.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua/zencode_ethereum.lua b/src/lua/zencode_ethereum.lua index edf7ae7a7..bbe881333 100644 --- a/src/lua/zencode_ethereum.lua +++ b/src/lua/zencode_ethereum.lua @@ -481,7 +481,7 @@ IfWhen("verify ethereum address signature pair array '' of ''", function(add_sig ) end) -IfWhen("use ethereum address signature pair array '' to create result array of ''", function(add_sig, doc) +When("use ethereum address signature pair array '' to create result array of ''", function(add_sig, doc) empty 'result array' ACK.result_array = _verify_address_signature_array(add_sig, doc, function(address_signature_pair, hmsg)