bug fix in otxn_param, passing now

This commit is contained in:
Richard Holland
2023-01-04 13:31:05 +00:00
parent b6ca19ba4e
commit bbe0791966

View File

@@ -4909,7 +4909,7 @@ DEFINE_HOOK_FUNCTION(
if (val.empty())
return DOESNT_EXIST;
if (val.size() < write_len)
if (val.size() > write_len)
return TOO_SMALL;
WRITE_WASM_MEMORY_AND_RETURN(