Hightest_bidder can loss funds due to lack of check
Summary
Hightest_bidder can loss funds due to lack of check
Vulnerability Detail
In AuctionHouse.vy contract in the refund_highest_bidder function the owner can decide to refund the highest_bidder. But in the transfer function the check of the returned value is not done assuming this one will always return true (never failed)
Impact
Hightest_bidder will loss his deposit bid, because (highest_bid is set to 0 and highest_bidder is set to empty address) highest_bidder will not be able to call any function to get refunded.
MyFDsYours
high
Hightest_bidder can loss funds due to lack of check
Summary
Hightest_bidder can loss funds due to lack of check
Vulnerability Detail
In AuctionHouse.vy contract in the refund_highest_bidder function the owner can decide to refund the highest_bidder. But in the transfer function the check of the returned value is not done assuming this one will always return true (never failed)
Impact
Hightest_bidder will loss his deposit bid, because (highest_bid is set to 0 and highest_bidder is set to empty address) highest_bidder will not be able to call any function to get refunded.
Code Snippet
AuctionHouse.vy#L314-L325
Tool used
Manual Review
Recommendation
Assert that the transfer call has worked proprely
Duplicate of #26