Skip to content

Commit e5dde4b

Browse files
committed
whitespace
1 parent 587a413 commit e5dde4b

File tree

1 file changed

+3
-3
lines changed
  • target_chains/stylus/contracts/wormhole/src

1 file changed

+3
-3
lines changed

target_chains/stylus/contracts/wormhole/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ impl WormholeContract {
233233
Self::parse_vm_static(encoded_vaa)
234234
}
235235

236-
// Parsing a Wormhole VAA according to the structure defined
236+
// Parsing a Wormhole VAA according to the structure defined
237237
// by https://wormhole.com/docs/protocol/infrastructure/vaas/
238238
fn parse_vm_static(encoded_vaa: &[u8]) -> Result<VerifiedVMM, WormholeError> {
239239
if encoded_vaa.len() < 6 {
@@ -317,7 +317,7 @@ impl WormholeContract {
317317
.map_err(|_| WormholeError::InvalidVAAFormat(InvalidVAAFormat {}))?;
318318

319319
let sequence = u64::from_be_bytes(sequence_bytes);
320-
320+
321321
cursor += 8;
322322

323323
let consistency_level = encoded_vaa[cursor];
@@ -350,7 +350,7 @@ impl WormholeContract {
350350
&& guardian_set.expiration_time > 0 {
351351
return Err(WormholeError::GuardianSetExpired(GuardianSetExpired {}))
352352
}
353-
353+
354354
let num_guardians : u32 = guardian_set.keys.len().try_into().map_err(|_| WormholeError::InvalidInput(InvalidInput {}))?;
355355

356356
let required_signatures = Self::quorum(num_guardians);

0 commit comments

Comments
 (0)