mirror of
				https://github.com/Instadapp/dsa-connectors.git
				synced 2024-07-29 22:37:00 +00:00 
			
		
		
		
	Fix compound connector depositCToken setId
This commit is contained in:
		
							parent
							
								
									fb71978100
								
							
						
					
					
						commit
						ac3421fb61
					
				|  | @ -262,7 +262,8 @@ abstract contract CompoundResolver is Events, Helpers { | |||
| 
 | ||||
|         { | ||||
|             uint finalBal = ctokenContract.balanceOf(address(this)); | ||||
|             finalBal - initialBal; | ||||
|             _cAmt = sub(finalBal, initialBal); | ||||
| 
 | ||||
|             setUint(setId, _cAmt); | ||||
|         } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Thrilok Kumar
						Thrilok Kumar