From 26e5dad393c0bb561afae83a448c11d50bdd31a8 Mon Sep 17 00:00:00 2001 From: gagliardetto Date: Fri, 17 Nov 2023 15:28:34 +0100 Subject: [PATCH] Cleanup logs --- multiepoch-getBlock.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/multiepoch-getBlock.go b/multiepoch-getBlock.go index ddcef1f1..9d397b98 100644 --- a/multiepoch-getBlock.go +++ b/multiepoch-getBlock.go @@ -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() @@ -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")