mirror of
				https://github.com/0glabs/0g-chain.git
				synced 2025-11-04 04:47:27 +00:00 
			
		
		
		
	fix: collateral param permission (#813)
This commit is contained in:
		
							parent
							
								
									04b65e1d4e
								
							
						
					
					
						commit
						e351e20727
					
				@ -354,7 +354,7 @@ func (acps AllowedCollateralParams) Allows(current, incoming cdptypes.Collateral
 | 
			
		||||
		var foundCurrentCP bool
 | 
			
		||||
		var currentCP cdptypes.CollateralParam
 | 
			
		||||
		for _, p := range current {
 | 
			
		||||
			if p.Denom != incomingCP.Denom {
 | 
			
		||||
			if p.Type != incomingCP.Type {
 | 
			
		||||
				continue
 | 
			
		||||
			}
 | 
			
		||||
			foundCurrentCP = true
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user