mirror of
				https://github.com/Instadapp/aave-protocol-v2.git
				synced 2024-07-29 21:47:30 +00:00 
			
		
		
		
	Fixed comment
This commit is contained in:
		
							parent
							
								
									7c6034db67
								
							
						
					
					
						commit
						d724d1f58f
					
				| 
						 | 
					@ -583,7 +583,8 @@ contract LendingPool is VersionedInitializable, ILendingPool, LendingPoolStorage
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      emit FlashLoan(receiverAddress, asset, amount, vars.premium, referralCode);
 | 
					      emit FlashLoan(receiverAddress, asset, amount, vars.premium, referralCode);
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      // If the transfer didn't succeed, the receiver either didn't return the funds, or didn't approve the transfer.
 | 
					     //if the user didn't choose to return the funds, the system checks if there
 | 
				
			||||||
 | 
					     //is enough collateral and eventually open a position
 | 
				
			||||||
      _executeBorrow(
 | 
					      _executeBorrow(
 | 
				
			||||||
        ExecuteBorrowParams(
 | 
					        ExecuteBorrowParams(
 | 
				
			||||||
          asset,
 | 
					          asset,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user