Giveth / vaultcontroller

Vault Architecture
GNU General Public License v3.0
0 stars 3 forks source link

removeAuthorizedSpender using msg.sender as spender #31

Closed adria0 closed 7 years ago

adria0 commented 7 years ago
    function removeAuthorizedSpender(address _spender) onlyOwner initialized notCanceled {
    ...
        addr2spenderId[msg.sender] = 0;
    ...
    }
jbaylina commented 7 years ago

Fixed! Good catch!

Tests for removing spenders and recipients should be done.

adria0 commented 7 years ago

Doing them :D