Skip to content

Commit

Permalink
Merge pull request wighawag#7 from z0r0z/patch-1
Browse files Browse the repository at this point in the history
add 'payable' to support more kinds of clones
  • Loading branch information
wighawag authored Feb 15, 2022
2 parents 3048e2b + 9f946e9 commit 86ab167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClonesWithImmutableArgs.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ library ClonesWithImmutableArgs {
/// @return instance The address of the created clone
function clone(address implementation, bytes memory data)
internal
returns (address instance)
returns (address payable instance)
{
// unrealistic for memory ptr or data length to exceed 256 bits
unchecked {
Expand Down

0 comments on commit 86ab167

Please sign in to comment.