Skip to content

Commit

Permalink
disable noisy debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
StarNeit committed Dec 1, 2020
1 parent 99d4d5e commit 9a1f5e1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions node/opr.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import (
"context"
"database/sql"
"fmt"
"github.com/sirupsen/logrus"

"github.com/Factom-Asset-Tokens/factom"
"github.com/pegnet/pegnet/modules/grader"
)
Expand Down Expand Up @@ -59,7 +57,7 @@ func (d *Pegnetd) Grade(ctx context.Context, block *factom.EBlock) (grader.Grade
err = g.AddOPR(entry.Hash[:], extids, entry.Content)
if err != nil {
// This is a noisy debug print
logrus.WithError(err).WithFields(logrus.Fields{"hash": entry.Hash.String()}).Debug("failed to add opr")
//logrus.WithError(err).WithFields(logrus.Fields{"hash": entry.Hash.String()}).Debug("failed to add opr")
}
}

Expand Down

0 comments on commit 9a1f5e1

Please sign in to comment.