Dandy Caramel Tortoise - Using .approve
will cause bidding to revert in LenderCommitmentGroup_Smart.sol
#44
Labels
Sponsor Confirmed
The sponsor acknowledged this issue is valid
Will Fix
The sponsor confirmed this issue will be fixed
Dandy Caramel Tortoise
Medium
Using
.approve
will cause bidding to revert in LenderCommitmentGroup_Smart.solSummary
Using
.approve
will cause bidding to revert in LenderCommitmentGroup_Smart.solRoot Cause
.approve
is used expecting a boolean return variable which will revert for USDT since it doesn't return anything. The team specifically plans to support USDTInternal pre-conditions
No response
External pre-conditions
No response
Attack Path
No response
Impact
Bidding in
LenderCommitmentGroup_Smart
will revert for USDTPoC
No response
Mitigation
Use
.safeApprove
insteadThe text was updated successfully, but these errors were encountered: