Skip to content

Commit

Permalink
remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jayendramadaram committed Mar 23, 2024
1 parent 96e5cac commit 0795690
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/miner/miner.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ PICK_TX:
return err
}

fmt.Printf("\rProcessing... tx: %s with ID: %d", tx.Hash, tx.ID)
fmt.Printf("\rProcessing... tx: %s", tx.Hash)

inputs, err := m.mempool.GetInputs(tx.Hash)
if err != nil {
Expand Down Expand Up @@ -110,8 +110,6 @@ PICK_TX:
return err
}

m.logger.Info("tx accepted", tx.Hash)

// include tx in block
weight += int(tx.Weight)
feeCollected += int(tx.FeeCollected)
Expand Down

0 comments on commit 0795690

Please sign in to comment.