Reverted syntax used by readBytes4 in AssetProxyOwner to be compatible with Solidity v0.4.10
This commit is contained in:
parent
62b93cf2eb
commit
5f1c9cfee5
@ -105,13 +105,9 @@ contract AssetProxyOwner is
|
||||
uint256 index
|
||||
)
|
||||
internal
|
||||
pure
|
||||
returns (bytes4 result)
|
||||
{
|
||||
require(
|
||||
b.length >= index + 4,
|
||||
"GREATER_OR_EQUAL_TO_4_LENGTH_REQUIRED"
|
||||
);
|
||||
require(b.length >= index + 4);
|
||||
|
||||
// Arrays are prefixed by a 32 byte length field
|
||||
index += 32;
|
||||
|
Loading…
x
Reference in New Issue
Block a user