Remove type check that is covered by assertions.

This commit is contained in:
chriseth 2019-02-07 12:02:15 +01:00
parent 42240a69e9
commit fc18258250

View File

@ -569,7 +569,7 @@ string ABIFunctions::abiEncodingFunction(
)");
templ("functionName", functionName);
if (_from.dataStoredIn(DataLocation::Storage) && to.isValueType())
if (_from.dataStoredIn(DataLocation::Storage))
{
// special case: convert storage reference type to value type - this is only
// possible for library calls where we just forward the storage reference