File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
target_chains/starknet/contracts/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ pub trait IWormhole<T> {
7
7
fn submit_new_guardian_set (
8
8
ref self : T , set_index : u32 , guardians : Array <felt252 >
9
9
) -> Result <(), SubmitNewGuardianSetError >;
10
- fn parse_and_verify_vm (ref self : T , encoded_vm : ByteArray ) -> Result <VM , ParseAndVerifyVmError >;
10
+ fn parse_and_verify_vm (self : @ T , encoded_vm : ByteArray ) -> Result <VM , ParseAndVerifyVmError >;
11
11
}
12
12
13
13
#[derive(Drop , Debug , Clone , Serde )]
@@ -224,7 +224,7 @@ mod wormhole {
224
224
}
225
225
226
226
fn parse_and_verify_vm (
227
- ref self : ContractState , encoded_vm : ByteArray
227
+ self : @ ContractState , encoded_vm : ByteArray
228
228
) -> Result <VM , ParseAndVerifyVmError > {
229
229
let (vm , body_hash ) = parse_vm (encoded_vm )? ;
230
230
let guardian_set = self . guardian_sets. read (vm . guardian_set_index);
You can’t perform that action at this time.
0 commit comments