From 508552de25dd119be2765cbaf15211345337ec76 Mon Sep 17 00:00:00 2001 From: Rootul P Date: Sun, 9 Oct 2022 10:20:25 -0600 Subject: [PATCH] fix: remove debug printf statement (#851) This printf statement was accidentally introduced in https://github.com/celestiaorg/celestia-app/pull/781 It should be removed to avoid log spam when developers run `make test` --- pkg/prove/proof.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/prove/proof.go b/pkg/prove/proof.go index 2f466978..fde7ff60 100644 --- a/pkg/prove/proof.go +++ b/pkg/prove/proof.go @@ -2,7 +2,6 @@ package prove import ( "errors" - "fmt" "github.com/celestiaorg/celestia-app/pkg/appconsts" "github.com/celestiaorg/celestia-app/pkg/shares" @@ -109,7 +108,6 @@ func txSharePosition(txs types.Txs, txIndex uint64) (startSharePos, endSharePos startSharePos = txShareIndex(prevTxTotalLen) endSharePos = txShareIndex(endOfCurrentTxLen) - fmt.Printf("prevTxTotalLen: %d, endOfCurrentTxLen: %d, startSharePos: %d, endSharePos %d, currentTxTotalLen %d\n", prevTxTotalLen, endOfCurrentTxLen, startSharePos, endSharePos, currentTxTotalLen) return startSharePos, endSharePos, nil }