mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-11 18:14:25 +00:00
fix fixed length returns at delegatedcall
This commit is contained in:
parent
8d149a396b
commit
451984b55c
@ -19,10 +19,10 @@ contract DelegatedCall {
|
|||||||
calldatacopy(inDataPtr, 0x0, inSize)
|
calldatacopy(inDataPtr, 0x0, inSize)
|
||||||
}
|
}
|
||||||
|
|
||||||
uint256 outSize;
|
|
||||||
bytes32 outDataPtr;
|
bytes32 outDataPtr;
|
||||||
|
uint256 outSize;
|
||||||
|
|
||||||
_delegatecall(inDataPtr, inSize);
|
(outDataPtr, outSize) = _delegatecall(inDataPtr, inSize);
|
||||||
_;
|
_;
|
||||||
assembly {
|
assembly {
|
||||||
return(0, outSize)
|
return(0, outSize)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user