Skip to content

Commit 8c19af9

Browse files
committed
cargo fmt
1 parent c6df39e commit 8c19af9

File tree

5 files changed

+596
-208
lines changed

5 files changed

+596
-208
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub enum PythReceiverError {
1616
InvalidAccumulatorMessageType,
1717
InsufficientFee,
1818
InvalidEmitterAddress,
19-
TooManyUpdates
19+
TooManyUpdates,
2020
}
2121

2222
impl core::fmt::Debug for PythReceiverError {
@@ -37,12 +37,12 @@ impl From<PythReceiverError> for Vec<u8> {
3737
PythReceiverError::InvalidAccumulatorMessage => 7,
3838
PythReceiverError::InvalidMerkleRoot => 8,
3939
PythReceiverError::InvalidMerklePath => 9,
40-
PythReceiverError::InvalidUnknownSource => 10,
40+
PythReceiverError::InvalidUnknownSource => 10,
4141
PythReceiverError::NewPriceUnavailable => 11,
4242
PythReceiverError::InvalidAccumulatorMessageType => 12,
4343
PythReceiverError::InsufficientFee => 13,
4444
PythReceiverError::InvalidEmitterAddress => 14,
45-
PythReceiverError::TooManyUpdates => 15
45+
PythReceiverError::TooManyUpdates => 15,
4646
}]
4747
}
4848
}

0 commit comments

Comments
 (0)