Merge pull request #5953 from ethereum/removeCheckCoveredByAssertion

Remove type check that is covered by assertions.
This commit is contained in:
chriseth
2019-02-07 12:19:14 +01:00
committed by GitHub
+1 -1
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