Closed adria0 closed 7 years ago
vaultController.authorizeSpender("SPENDER", spender, 10, 2, 3, 7, 6 ); vaultController.removeAuthorizedSpender(spender); vaultController.authorizeRecipient(spender,recipient,"RECIPIENT"); // should fail
and
vc.authorizeSpender("SPENDER", spender, 10, 2, 3, 7, 6 ); vc.authorizeRecipient(spender,recipient,"RECIPIENT"); vc.removeAuthorizedSpender(spender); vc.removeAuthorizedRecipient(spender,recipient) // should fail
https://github.com/Giveth/vaultcontroller/blob/master/contracts/VaultController.sol#L593
This will throw because it will not find the spender in the index.
Ok. Error was generated by #31 now closed.
and