mirror of
				https://github.com/Instadapp/Gelato-automations.git
				synced 2024-07-29 22:28:07 +00:00 
			
		
		
		
	Fix bug, put buffer on the full refinancing
This commit is contained in:
		
							parent
							
								
									080db7e6c2
								
							
						
					
					
						commit
						952f79124e
					
				|  | @ -306,7 +306,7 @@ contract ConnectGelatoDebtBridgeFromMaker is MakerResolver { | ||||||
|         ); |         ); | ||||||
| 
 | 
 | ||||||
|         _setInstaMemoryUints( |         _setInstaMemoryUints( | ||||||
|             _add(wDaiDebtToMove, 1e18), |             wDaiDebtToMove, | ||||||
|             _sub(wColToWithdrawFromMaker, gasFeesPaidFromCol), // _wColToDepositInB |             _sub(wColToWithdrawFromMaker, gasFeesPaidFromCol), // _wColToDepositInB | ||||||
|             wDaiDebtToMove, |             wDaiDebtToMove, | ||||||
|             gasFeesPaidFromCol |             gasFeesPaidFromCol | ||||||
|  | @ -333,7 +333,7 @@ contract ConnectGelatoDebtBridgeFromMaker is MakerResolver { | ||||||
|         uint256 gasFeesPaidFromCol = _getGelatoProviderFees(); |         uint256 gasFeesPaidFromCol = _getGelatoProviderFees(); | ||||||
| 
 | 
 | ||||||
|         _setInstaMemoryUints( |         _setInstaMemoryUints( | ||||||
|             wDaiDebtToMove, |             _add(wDaiDebtToMove, 1e18), | ||||||
|             _sub(wColToWithdrawFromMaker, gasFeesPaidFromCol), // _wColToDepositInB |             _sub(wColToWithdrawFromMaker, gasFeesPaidFromCol), // _wColToDepositInB | ||||||
|             wDaiDebtToMove, |             wDaiDebtToMove, | ||||||
|             gasFeesPaidFromCol |             gasFeesPaidFromCol | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Shivva
						Shivva