Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega committed Oct 13, 2024
1 parent 5c7a080 commit 9cf565c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/bin/dolos/init/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion src/ledger/pparams/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion src/wal/testing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9cf565c

Please sign in to comment.