Skip to content

Commit

Permalink
fix: remove debug printf statement (#851)
Browse files Browse the repository at this point in the history
This printf statement was accidentally introduced in
#781

It should be removed to avoid log spam when developers run `make test`
  • Loading branch information
rootulp authored Oct 9, 2022
1 parent be5406b commit 9cc469c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/prove/proof.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package prove

import (
"errors"
"fmt"

"github.com/celestiaorg/celestia-app/pkg/appconsts"
"github.com/celestiaorg/celestia-app/pkg/shares"
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 9cc469c

Please sign in to comment.