Remove closeKeep call from seizeSignerBonds
We removed closeKeep call happening before seizeSignerBonds as keep
requires the keep to be active to let seizeSignerBonds.
Keep will be automatically closed by itself just by calling
seizeSignerBonds function.
@@ -372,9 +372,10 @@ library DepositUtils {
/// @return The amount seized in wei.
function seizeSignerBonds(Deposit storage _d) internal returns (uint256) {
uint256 _preCallBalance = address(this).balance;
+
IBondedECDSAKeep _keep = IBondedECDSAKeep(_d.keepAddress);
- _keep.closeKeep();
_keep.seizeSignerBonds();
+
uint256 _postCallBalance = address(this).balance;
require(_postCallBalance > _preCallBalance, "No funds received, unexpected");
return _postCallBalance.sub(_preCallBalance);
