Assessment reports>Bond Protocol>Discussion>Redundant safeTransfer call

Redundant call of safeTransfer for zero tokens value

The claimFees function will call the token.safeTransfer(to_, send) function even when the send value is zero. We recommend adding a check for zero value and in this case proceed to the next token address.

Remediation

Bond Labs acknowledged this finding and implemented a fix in commit 645e334b.

Zellic © 2024Back to top ↑