Prevent _requesterPKH for being set to bytes20(0)
if it is set to bytes20(0) a signer liquidation can be forced
@@ -73,6 +73,7 @@ library DepositRedemption {
bytes20 _requesterPKH
) public {
require(_d.inRedeemableState(), "Redemption only available from Active or Courtesy state");
+ require(_requesterPKH != bytes20(0), "cannot send value to zero pkh");
redemptionTBTCBurn(_d);
