Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
raychu86 committed Oct 20, 2023
1 parent d18a767 commit e3ff472
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ledger/src/advance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ impl<N: Network, C: ConsensusStorage<N>> Ledger<N, C> {
cfg_into_iter!(candidate_solutions).partition(|solution| {
solution
.verify(
&self.coinbase_puzzle.coinbase_verifying_key(),
self.coinbase_puzzle.coinbase_verifying_key(),
&latest_epoch_challenge,
self.latest_proof_target(),
)
Expand All @@ -139,7 +139,7 @@ impl<N: Network, C: ConsensusStorage<N>> Ledger<N, C> {
// Accumulate the prover solutions.
let solutions = self.coinbase_puzzle.accumulate(
valid_candidate_solutions,
&self.latest_epoch_challenge()?,
&latest_epoch_challenge,
self.latest_proof_target(),
)?;
// Compute the solutions root.
Expand Down

0 comments on commit e3ff472

Please sign in to comment.