File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed 
packages/cli/src/commands Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -74,11 +74,10 @@ export default class AddCommand extends Command {
7474    const  network  =  manifest . result . getIn ( [ 'dataSources' ,  0 ,  'network' ] )  as  any ; 
7575    const  result  =  manifest . result . asMutable ( ) ; 
7676    const  isLocalHost  =  network  ===  'localhost' ;  // This flag prevent Etherscan lookups in case the network selected is `localhost` 
77-     let  contractService : ContractService  |  undefined ; 
7877
7978    if  ( isLocalHost )  this . warn ( '`localhost` network detected, prompting user for inputs' ) ; 
8079    const  registry  =  await  loadRegistry ( ) ; 
81-     contractService  =  new  ContractService ( registry ) ; 
80+     const   contractService  =  new  ContractService ( registry ) ; 
8281
8382    let  startBlock  =  startBlockFlag ; 
8483    let  contractName  =  contractNameFlag ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments