Skip to content

Commit 75f6474

Browse files
committed
Remove unnecessary check
1 parent b31f768 commit 75f6474

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ethereum/contracts/pyth/Pyth.sol

-4
Original file line numberDiff line numberDiff line change
@@ -482,10 +482,6 @@ abstract contract Pyth is PythGetters, PythSetters, AbstractPyth {
482482
index,
483483
attestationSize
484484
);
485-
require(
486-
info.publishTime != 0,
487-
"price feed for the given id is not pushed or does not exist"
488-
);
489485

490486
priceFeeds[k].id = priceId;
491487
priceFeeds[k].price.price = info.price;

0 commit comments

Comments
 (0)