Skip to content

Commit

Permalink
style: cargo fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Gustavo Inacio <[email protected]>
  • Loading branch information
gusinacio committed Mar 25, 2024
1 parent fe87ba2 commit cfb5dcb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions tap_core/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ pub enum Error {
)]
ReceiptTimestampLowerThanRav { rav_ts: u64, receipt_ts: u64 },


/// Error when the min timestamp is greater than the max timestamp
/// Used by [`crate::manager::Manager::create_rav_request()`]
#[error("Timestamp range error: min_timestamp_ns: {min_timestamp_ns}, max_timestamp_ns: {max_timestamp_ns}. Adjust timestamp buffer.")]
Expand All @@ -72,7 +71,6 @@ pub enum Error {
#[error("Receipt error: {0}")]
ReceiptError(#[from] ReceiptError),


/// Error when the recovered signer address is invalid
/// Used by [`crate::manager::adapters::EscrowHandler`]
#[error("Recovered sender address invalid {address}")]
Expand Down
1 change: 0 additions & 1 deletion tap_core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright 2023-, Semiotic AI, Inc.
// SPDX-License-Identifier: Apache-2.0


//! # Timeline Aggregation Protocol
//!
//! ## Overview
Expand Down
2 changes: 1 addition & 1 deletion tap_core/src/manager/tap_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use super::adapters::{EscrowHandler, RAVRead, RAVStore, ReceiptDelete, ReceiptRe
use crate::{
rav::{RAVRequest, ReceiptAggregateVoucher, SignedRAV},
receipt::{
checks::{TimestampCheck, CheckBatch, CheckList, UniqueCheck},
checks::{CheckBatch, CheckList, TimestampCheck, UniqueCheck},
state::{Failed, Reserved},
ReceiptWithState, SignedReceipt,
},
Expand Down

0 comments on commit cfb5dcb

Please sign in to comment.