Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions catchup/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ func (s *Service) sync(cert *PendingUnmatchedCertificate) {
seedLookback := uint64(2)
proto, err := s.ledger.ConsensusParams(pr)
if err != nil {
s.log.Errorf("catchup: could not get consensus parameters for round %v: $%v", pr, err)
s.log.Errorf("catchup: could not get consensus parameters for round %v: %v", pr, err)
} else {
seedLookback = proto.SeedLookback
}
Expand Down Expand Up @@ -578,9 +578,9 @@ func (s *Service) nextRoundIsNotSupported(nextRound basics.Round) bool {
lastLedgerRound := s.ledger.LastRound()
supportedUpgrades := config.Consensus

block, error := s.ledger.Block(lastLedgerRound)
if error != nil {
s.log.Errorf("nextRoundIsNotSupported: could not retrieve last block (%d) from the ledger.", lastLedgerRound)
block, err := s.ledger.Block(lastLedgerRound)
if err != nil {
s.log.Errorf("nextRoundIsNotSupported: could not retrieve last block (%d) from the ledger : %v", lastLedgerRound, err)
return false
}
bh := block.BlockHeader
Expand Down