fix fixed length returns at delegatedcall

This commit is contained in:
Ricardo Guilherme Schmidt 2017-11-09 08:17:08 -02:00
parent 8d149a396b
commit 451984b55c
1 changed files with 2 additions and 2 deletions

View File

@ -19,10 +19,10 @@ contract DelegatedCall {
calldatacopy(inDataPtr, 0x0, inSize)
}
uint256 outSize;
bytes32 outDataPtr;
uint256 outSize;
_delegatecall(inDataPtr, inSize);
(outDataPtr, outSize) = _delegatecall(inDataPtr, inSize);
_;
assembly {
return(0, outSize)