mirror of
				https://github.com/Instadapp/dsa-connectors.git
				synced 2024-07-29 22:37:00 +00:00 
			
		
		
		
	🐛 Fixing issue with wethAddr
This commit is contained in:
		
							parent
							
								
									bc80d780ec
								
							
						
					
					
						commit
						605bcc9dcf
					
				| 
						 | 
				
			
			@ -30,7 +30,7 @@ abstract contract YearnResolver is Events, Basic {
 | 
			
		|||
        YearnV2Interface yearn = YearnV2Interface(vault);
 | 
			
		||||
 | 
			
		||||
        address want = yearn.token();
 | 
			
		||||
        bool isEth = want == ethAddr;
 | 
			
		||||
        bool isEth = want == wethAddr;
 | 
			
		||||
        TokenInterface tokenContract = TokenInterface(want);
 | 
			
		||||
 | 
			
		||||
        if (isEth) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user