Skip to content

Commit cfcdc0a

Browse files
committed
quick refactoring
1 parent 7252ffd commit cfcdc0a

File tree

1 file changed

+1
-1
lines changed
  • target_chains/stylus/contracts/pyth-receiver/src

1 file changed

+1
-1
lines changed

target_chains/stylus/contracts/pyth-receiver/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ impl PythReceiver {
119119

120120
match update_data.proof {
121121
Proof::WormholeMerkle { vaa, updates } => {
122-
let wormhole: IWormhole = IWormhole::new(self.wormhole.get());
122+
let wormhole: IWormholeContract = IWormholeContract::new(self.wormhole.get());
123123
let config = Call::new_in(self);
124124
let _parsed_vaa = wormhole.parse_and_verify_vm(config, Bytes::from(Vec::from(vaa))).map_err(|_| PythReceiverError::PriceUnavailable).unwrap();
125125

0 commit comments

Comments
 (0)