Skip to content

Commit be26b97

Browse files
committed
fix: change storage to memory in Drippie.executable() view function
1 parent 4cca72b commit be26b97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/periphery/drippie/Drippie.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ contract Drippie is AssetReceiver {
171171
/// @param _name Drip to check.
172172
/// @return True if the drip is executable, reverts otherwise.
173173
function executable(string calldata _name) public view returns (bool) {
174-
DripState storage state = drips[_name];
174+
DripState memory state = drips[_name];
175175

176176
// Only allow active drips to be executed, an obvious security measure.
177177
require(state.status == DripStatus.ACTIVE, "Drippie: selected drip does not exist or is not currently active");

0 commit comments

Comments
 (0)