Skip to content

Commit c8b01c7

Browse files
committed
chore: clippy
1 parent efde1fa commit c8b01c7

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

crates/db/src/provider.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,20 @@ where
8282
index: u64,
8383
enter_token: EnterToken,
8484
) -> ProviderResult<()> {
85-
self.tx_ref().put::<SignetEvents>(ru_height, DbSignetEvent::EnterToken(index, enter_token))?;
85+
self.tx_ref()
86+
.put::<SignetEvents>(ru_height, DbSignetEvent::EnterToken(index, enter_token))?;
8687
Ok(())
8788
}
8889

8990
/// Insert a Transact into the DB
9091
/// This is a signet-specific function that inserts a transact event into the
9192
/// [`SignetEvents`] table.
92-
fn insert_transact(&self, ru_height: u64, index: u64, transact: &Transact) -> ProviderResult<()> {
93+
fn insert_transact(
94+
&self,
95+
ru_height: u64,
96+
index: u64,
97+
transact: &Transact,
98+
) -> ProviderResult<()> {
9399
// this is unfortunate, but probably fine because the large part is the
94100
// shared Bytes object.
95101
let t = transact.clone();

0 commit comments

Comments
 (0)