File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed 
target_chains/sui/sdk/js/src Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -113,15 +113,14 @@ export class SuiPythClient {
113113    updates : Buffer [ ] , 
114114    packageId : string , 
115115  ) : Promise < any >  { 
116-     let  priceUpdatesHotPotato ; 
117116    if  ( updates . length  >  1 )  { 
118117      throw  new  Error ( 
119118        "SDK does not support sending multiple accumulator messages in a single transaction" , 
120119      ) ; 
121120    } 
122121    const  vaa  =  this . extractVaaBytesFromAccumulatorMessage ( updates [ 0 ] ) ; 
123122    const  verifiedVaas  =  await  this . verifyVaas ( [ vaa ] ,  tx ) ; 
124-     [ priceUpdatesHotPotato ]  =  tx . moveCall ( { 
123+     const   [ priceUpdatesHotPotato ]  =  tx . moveCall ( { 
125124      target : `${ packageId }  ::pyth::create_authenticated_price_infos_using_accumulator` , 
126125      arguments : [ 
127126        tx . object ( this . pythStateId ) , 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments