Skip to main content

assert_pyth_receiver_owner

Function assert_pyth_receiver_owner 

Source
pub fn assert_pyth_receiver_owner(info: &AccountInfo<'_>) -> ProgramResult
Expand description

Assert that info is owned by either the Pyth Receiver program (pull feeds) or the Pyth Push Oracle program (continuously-maintained push feed accounts).