From 12e32c1c948411be5caf273160337e33c6eb5689 Mon Sep 17 00:00:00 2001 From: Sam MacPherson Date: Wed, 9 Mar 2022 07:37:44 -0500 Subject: [PATCH] fix the rely/deny events in CropJoin; typo in proxy actions comments (#30) --- src/CropJoin.sol | 4 ++-- src/DssProxyActionsCropper.sol | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CropJoin.sol b/src/CropJoin.sol index c5f99a7..c62f6e4 100644 --- a/src/CropJoin.sol +++ b/src/CropJoin.sol @@ -38,12 +38,12 @@ contract CropJoin { function rely(address usr) external auth { wards[usr] = 1; - emit Rely(msg.sender); + emit Rely(usr); } function deny(address usr) external auth { wards[usr] = 0; - emit Deny(msg.sender); + emit Deny(usr); } function setImplementation(address implementation_) external auth { diff --git a/src/DssProxyActionsCropper.sol b/src/DssProxyActionsCropper.sol index 7102034..f31724a 100644 --- a/src/DssProxyActionsCropper.sol +++ b/src/DssProxyActionsCropper.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: AGPL-3.0-or-later -/// DssProxyActions.sol +/// DssProxyActionsCropper.sol // Copyright (C) 2018-2020 Maker Ecosystem Growth Holdings, INC.