diff --git a/brownie/network/transaction.py b/brownie/network/transaction.py index 975fb55ea..cde6024aa 100644 --- a/brownie/network/transaction.py +++ b/brownie/network/transaction.py @@ -637,7 +637,7 @@ def _expand_trace(self) -> None: subcall["selfdestruct"] = True else: if opcode == "REVERT": - data = _get_memory(trace[i], -1) + data = _get_memory(trace[i], -1)[4:] if data: subcall["revert_msg"] = decode_abi(["string"], data)[0] if "revert_msg" not in subcall and "dev" in pc: