File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
target_chains/solana/programs/pyth-solana-receiver/src Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change
1
+ pub use pythnet_sdk:: wire:: v1:: MerklePriceUpdate ;
1
2
use {
2
3
crate :: error:: ReceiverError ,
3
4
anchor_lang:: prelude:: * ,
18
19
wire:: {
19
20
from_slice,
20
21
v1:: {
21
- MerklePriceUpdate ,
22
22
WormholeMessage ,
23
23
WormholePayload ,
24
24
} ,
@@ -53,7 +53,6 @@ declare_id!(pyth_solana_receiver_sdk::ID);
53
53
pub mod pyth_solana_receiver {
54
54
use super :: * ;
55
55
56
-
57
56
pub fn initialize ( ctx : Context < Initialize > , initial_config : Config ) -> Result < ( ) > {
58
57
require ! (
59
58
initial_config. minimum_signatures > 0 ,
@@ -90,7 +89,6 @@ pub mod pyth_solana_receiver {
90
89
Ok ( ( ) )
91
90
}
92
91
93
-
94
92
pub fn set_data_sources (
95
93
ctx : Context < Governance > ,
96
94
valid_data_sources : Vec < DataSource > ,
@@ -212,7 +210,6 @@ pub mod pyth_solana_receiver {
212
210
& params. merkle_price_update ,
213
211
) ?;
214
212
215
-
216
213
Ok ( ( ) )
217
214
}
218
215
@@ -353,7 +350,6 @@ pub struct PostUpdateParams {
353
350
pub treasury_id : u8 ,
354
351
}
355
352
356
-
357
353
fn deserialize_guardian_set_checked (
358
354
account_info : & AccountInfo < ' _ > ,
359
355
wormhole : & Pubkey ,
@@ -384,7 +380,6 @@ fn deserialize_guardian_set_checked(
384
380
Ok ( guardian_set)
385
381
}
386
382
387
-
388
383
struct VaaComponents {
389
384
verification_level : VerificationLevel ,
390
385
emitter_address : [ u8 ; 32 ] ,
You can’t perform that action at this time.
0 commit comments