Skip to content

Commit 2db25fc

Browse files
committed
fixed interface header
1 parent b3cf5d3 commit 2db25fc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

target_chains/ethereum/contracts/contracts/pyth/Pyth.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

target_chains/ethereum/sdk/solidity/IPyth.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
///

0 commit comments

Comments
 (0)