Skip to content

Commit

Permalink
Fix clippy lints.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuttycom committed Feb 10, 2025
1 parent e42820e commit eca51d6
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ impl<P: consensus::Parameters> RusqliteMigration for Migration<P> {
// which we will create a view to perform below. The `used_in_tx` column data is used only
// to determine the height at which the address was exposed (for which we use the target
// height for the transaction.)
conn.execute_batch(&format!(
r#"
conn.execute_batch(r#"
CREATE TABLE addresses_new (
id INTEGER NOT NULL PRIMARY KEY,
account_id INTEGER NOT NULL,
Expand All @@ -173,8 +172,7 @@ impl<P: consensus::Parameters> RusqliteMigration for Migration<P> {
transparent_child_index, cached_transparent_receiver_address,
exposed_at_height
FROM addresses;
"#
))?;
"#)?;

// Now, we add the ephemeral addresses to the newly unified `addresses` table.
#[cfg(feature = "transparent-inputs")]
Expand Down

0 comments on commit eca51d6

Please sign in to comment.