Skip to content

Commit

Permalink
Merge pull request #48 from cratiu222/fix-docs
Browse files Browse the repository at this point in the history
fix: HundredFinanceHack.sol
  • Loading branch information
janbro authored Oct 8, 2024
2 parents 97f6154 + 1ab2c95 commit af6875f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pocs/HundredFinanceHack.sol
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ contract HundredFinanceHack is FlashLoan, Reentrancy, PoC {
borrowedXdai = true;
uint256 amount = (totalFlashloaned * 1e12) * 60 / 100;

// Borrow xdai agaist the same usdc collateral, since the initial borrow transaction hasn't completed
// Borrow xdai agaist the same usdc collateral, since the initial borrow transaction hasn't been completed
// we can reuse the collateral
ICompoundToken(address(hxdai)).borrow(amount);
}
Expand Down

0 comments on commit af6875f

Please sign in to comment.