Skip to content

Commit

Permalink
Implement audit feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestognw committed Nov 26, 2024
1 parent bf2d786 commit 01c38d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/proxy/Clones.sol
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ library Clones {
function fetchCloneArgs(address instance) internal view returns (bytes memory) {
bytes memory result = new bytes(instance.code.length - 45); // revert if length is too short
assembly ("memory-safe") {
extcodecopy(instance, add(result, 0x20), 45, mload(result))
extcodecopy(instance, add(result, 32), 45, mload(result))
}
return result;
}
Expand Down

0 comments on commit 01c38d2

Please sign in to comment.