File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -327,6 +327,7 @@ abstract contract Pyth is
327327        bool  storeUpdatesIfFresh 
328328    )
329329        public 
330+         payable 
330331        returns  (
331332            PythStructs.PriceFeed[] memory  priceFeeds ,
332333            uint64 [] memory  slots 
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ interface IPyth is IPythEvents {
155155        bool  checkUniqueness ,
156156        bool  checkUpdateDataIsMinimal ,
157157        bool  storeUpdatesIfFresh 
158-     ) external  returns  ( PythStructs.PriceFeed[] memory  priceFeeds , uint64 [] memory  slots );
158+     ) external  payable   returns  ( PythStructs.PriceFeed[] memory  priceFeeds , uint64 [] memory  slots );
159159
160160    /// @notice Parse time-weighted average price (TWAP) from two consecutive price updates for the given `priceIds`. 
161161    /// 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments