Skip to content

Commit

Permalink
fix: passing msg.value
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroknots committed Apr 18, 2024
1 parent 84ec161 commit de456f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/ModuleManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ contract FactoryTrampolin {
bool success;
/* solhint-disable no-inline-assembly */
assembly ("memory-safe") {
success := call(gas(), factory, 0, add(callOnFactory, 0x20), mload(callOnFactory), 0, 32)
success := call(gas(), factory, callvalue(), add(callOnFactory, 0x20), mload(callOnFactory), 0, 32)
moduleAddress := mload(0)
}
if (!success) {
Expand Down

0 comments on commit de456f8

Please sign in to comment.