Skip to content

Commit

Permalink
fix for clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
econsta committed Oct 9, 2023
1 parent 82ec35d commit e92f8ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions processor/src/key_gen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ impl<N: Network, D: Db> KeyGen<N, D> {
panic!("commitments when already handled commitments");
}

let params = ParamsDb::get(txn, &id.set.encode()).unwrap();
let params = ParamsDb::get(txn, id.set.encode()).unwrap();

// Unwrap the machines, rebuilding them if we didn't have them in our cache
// We won't if the processor rebooted
Expand Down Expand Up @@ -263,7 +263,7 @@ impl<N: Network, D: Db> KeyGen<N, D> {
CoordinatorMessage::Shares { id, shares } => {
info!("Received shares for {:?}", id);

let params = ParamsDb::get(txn, &id.set.encode()).unwrap();
let params = ParamsDb::get(txn, id.set.encode()).unwrap();

// Same commentary on inconsistency as above exists
let machines = self.active_share.remove(&id.set).unwrap_or_else(|| {
Expand Down

0 comments on commit e92f8ab

Please sign in to comment.