Skip to content

Commit

Permalink
Cleanup logs
Browse files Browse the repository at this point in the history
  • Loading branch information
gagliardetto committed Nov 17, 2023
1 parent 4d41ba3 commit 26e5dad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions multiepoch-getBlock.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,6 @@ func (multi *MultiEpoch) handleGetBlock(ctx context.Context, conn *requestContex
klog.Errorf("failed to decode Transaction %s: %v", tcid, err)
return nil
}
// NOTE: this messes up the order of transactions,
// but we sort them later anyway.
mu.Lock()
allTransactionNodes[entryIndex][txI] = txNode
mu.Unlock()
Expand Down Expand Up @@ -449,7 +447,9 @@ func (multi *MultiEpoch) handleGetBlock(ctx context.Context, conn *requestContex
blockResp.PreviousBlockhash = &parentEntryHash
}
} else {
klog.Infof("parent slot is in a different epoch, not implemented yet (can't get previousBlockhash)")
if slot != 0 {
klog.Infof("parent slot is in a different epoch, not implemented yet (can't get previousBlockhash)")
}
}
}
tim.time("get parent block")
Expand Down

0 comments on commit 26e5dad

Please sign in to comment.