We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d9a4c8 commit 1d430caCopy full SHA for 1d430ca
1 file changed
src/QueryTypeStakerFactory.sol
@@ -79,8 +79,7 @@ contract QueryTypeStakerFactory is Ownable {
79
/// @param _newRecipient The new address to receive fees.
80
function _setFeeRecipient(address _newRecipient) internal {
81
if (_newRecipient == address(0)) revert QueryTypeStakerFactory__InvalidRecipient();
82
- address old = feeRecipient;
+ emit FeeRecipientUpdated(feeRecipient, _newRecipient);
83
feeRecipient = _newRecipient;
84
- emit FeeRecipientUpdated(old, _newRecipient);
85
}
86
0 commit comments