From 9739a5133e1cc25f0f07705573f7a32e4801d141 Mon Sep 17 00:00:00 2001 From: Cristovao Honorato Date: Tue, 31 Oct 2023 15:55:06 +0100 Subject: [PATCH] Rename --- contracts/core/GuardableModifier.sol | 4 ++-- contracts/core/Modifier.sol | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/core/GuardableModifier.sol b/contracts/core/GuardableModifier.sol index 984c86b3..e7004769 100644 --- a/contracts/core/GuardableModifier.sol +++ b/contracts/core/GuardableModifier.sol @@ -37,7 +37,7 @@ abstract contract GuardableModifier is Module, Guardable, Modifier { address(0), payable(0), "", - sentOrSignedBy() + sentOrSignedByModule() ); } success = IAvatar(target).execTransactionFromModule( @@ -78,7 +78,7 @@ abstract contract GuardableModifier is Module, Guardable, Modifier { address(0), payable(0), "", - sentOrSignedBy() + sentOrSignedByModule() ); } diff --git a/contracts/core/Modifier.sol b/contracts/core/Modifier.sol index d44f0ee2..0f44c88b 100644 --- a/contracts/core/Modifier.sol +++ b/contracts/core/Modifier.sol @@ -96,7 +96,7 @@ abstract contract Modifier is _; } - function sentOrSignedBy() internal view returns (address) { + function sentOrSignedByModule() internal view returns (address) { if (modules[msg.sender] != address(0)) { return msg.sender; }