Remove unnecessary sload

This commit is contained in:
Amir Bandeali 2019-09-18 20:54:38 -07:00
parent bd3b200b30
commit ad11dc2421

View File

@ -202,7 +202,7 @@ contract AssetProxyOwner is
view view
{ {
bytes4 functionSelector = data.readBytes4(0); bytes4 functionSelector = data.readBytes4(0);
TimeLock storage timeLock = functionCallTimeLocks[functionSelector][destination]; TimeLock memory timeLock = functionCallTimeLocks[functionSelector][destination];
// solhint-disable not-rely-on-time // solhint-disable not-rely-on-time
if (timeLock.hasCustomTimeLock) { if (timeLock.hasCustomTimeLock) {
require( require(