Explicit returns

This commit is contained in:
Greg Hysen
2018-12-13 16:02:13 -08:00
parent b524ac7af2
commit bb4ce9b3ad
2 changed files with 3 additions and 0 deletions

View File

@@ -129,5 +129,6 @@ contract MixinBalanceThresholdFilterCore is
revert("INVALID_OR_BLOCKED_EXCHANGE_SELECTOR");
}
// solhint-enable expression-indent
return addressesToValidate;
}
}

View File

@@ -50,6 +50,7 @@ contract MixinExchangeCalldata is
let exchangeCalldataOffset := add(exchangeTxPtr, add(0x24, offset))
value := calldataload(exchangeCalldataOffset)
}
return value;
}
/// @dev Convenience function that skips the 4 byte selector when loading
@@ -61,6 +62,7 @@ contract MixinExchangeCalldata is
returns (bytes32 value)
{
value = exchangeCalldataload(offset + 4);
return value;
}
/// @dev Extracts the maker address from an order stored in the Exchange calldata