From a040bf1e018fe877c9c34f50b4c785aa6077df94 Mon Sep 17 00:00:00 2001 From: Ricardo Guilherme Schmidt Date: Wed, 20 Mar 2019 22:03:11 -0300 Subject: [PATCH] event on delegate --- contracts/democracy/delegation/DefaultDelegation.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/democracy/delegation/DefaultDelegation.sol b/contracts/democracy/delegation/DefaultDelegation.sol index 4024c9c..c6a162a 100644 --- a/contracts/democracy/delegation/DefaultDelegation.sol +++ b/contracts/democracy/delegation/DefaultDelegation.sol @@ -16,6 +16,7 @@ contract DefaultDelegation is Delegation, Controlled { */ function delegate(address _to) external onlyController { defaultDelegate = _to; + emit Delegate(address(0), _to); } function delegatedTo(address)