Skip to content

Commit

Permalink
fix: improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
albertolerda authored and jaromil committed Jun 20, 2023
1 parent 55406ee commit 859fa3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lua/zencode_ethereum.lua
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ When("use the ethereum transaction to run '' using ''", function(m, p)
local params = have(p)
ZEN.assert(
method.name and method.input and type(method.input) == "table",
'method must contain the keys method and input'
'method must contain the keys name (string) and input (string array)'
)
local input = deepmap(function(o)
return o:octet():string() end, method.input)
Expand Down

0 comments on commit 859fa3c

Please sign in to comment.