mirror of
				https://github.com/0glabs/0g-chain.git
				synced 2025-10-31 15:07:59 +00:00 
			
		
		
		
	decrement supplied coins (#791)
This commit is contained in:
		
							parent
							
								
									cfb9e0cb76
								
							
						
					
					
						commit
						7be0c8b48e
					
				| @ -57,7 +57,7 @@ func (k Keeper) Withdraw(ctx sdk.Context, depositor sdk.AccAddress, coins sdk.Co | ||||
| 	k.UpdateDepositAndLtvIndex(ctx, deposit, newLtv, prevLtv) | ||||
| 
 | ||||
| 	// Update total supplied amount
 | ||||
| 	k.DecrementBorrowedCoins(ctx, amount) | ||||
| 	k.DecrementSuppliedCoins(ctx, amount) | ||||
| 
 | ||||
| 	// Call incentive hook
 | ||||
| 	k.AfterDepositModified(ctx, deposit) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Denali Marsh
						Denali Marsh