Use _.includes instead of indexOf
This commit is contained in:
		@@ -56,7 +56,7 @@ export class AbiDecoder {
 | 
			
		||||
    }
 | 
			
		||||
    private padZeros(address: string) {
 | 
			
		||||
        let formatted = address;
 | 
			
		||||
      if (formatted.indexOf('0x') !== -1) {
 | 
			
		||||
        if (!_.includes(formatted, '0x')) {
 | 
			
		||||
            formatted = formatted.slice(2);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user