diff --git a/src/bin/dolos/init/mod.rs b/src/bin/dolos/init/mod.rs index fe7d09e..99f83e7 100644 --- a/src/bin/dolos/init/mod.rs +++ b/src/bin/dolos/init/mod.rs @@ -433,7 +433,7 @@ pub fn run( .into_diagnostic() .context("parsing configuration")?; - super::bootstrap::run(&config, &super::bootstrap::Args::default(), &feedback)?; + super::bootstrap::run(&config, &super::bootstrap::Args::default(), feedback)?; println!("\nDolos is ready!"); println!("- run `dolos daemon` to start the node"); diff --git a/src/ledger/pparams/mod.rs b/src/ledger/pparams/mod.rs index 0a809bd..94a7e0f 100644 --- a/src/ledger/pparams/mod.rs +++ b/src/ledger/pparams/mod.rs @@ -441,7 +441,7 @@ mod tests { // in order let blocks: Vec<_> = files .iter() - .map(|x| MultiEraBlock::decode(&x).unwrap()) + .map(|x| MultiEraBlock::decode(x).unwrap()) .sorted_by_key(|b| b.slot()) .collect(); diff --git a/src/wal/testing.rs b/src/wal/testing.rs index be8fe7e..387adbf 100644 --- a/src/wal/testing.rs +++ b/src/wal/testing.rs @@ -10,7 +10,7 @@ pub fn slot_to_hash(slot: u64) -> BlockHash { pub fn dummy_block_from_slot(slot: u64) -> RawBlock { let bytes = &hex::decode(DUMMY_BLOCK_BYTES).unwrap(); - let block = pallas::ledger::traverse::MultiEraBlock::decode(&bytes).unwrap(); + let block = pallas::ledger::traverse::MultiEraBlock::decode(bytes).unwrap(); RawBlock { slot,