Fix for boost v1.76.

This commit is contained in:
Alexander Arlt 2021-05-26 08:44:23 -05:00
parent caa833909d
commit 3c57ede026

View File

@ -117,7 +117,7 @@ bytes ExecutionFramework::panicData(util::PanicCode _code)
{
return
m_evmVersion.supportsReturndata() ?
toCompactBigEndian(selectorFromSignature32("Panic(uint256)"), 4) + encode(u256(_code)) :
toCompactBigEndian(selectorFromSignature32("Panic(uint256)"), 4) + encode(u256(static_cast<unsigned>(_code))) :
bytes();
}