From 150036994653fcade2b3f9e5cc12979f660daace Mon Sep 17 00:00:00 2001 From: William Banfield Date: Fri, 11 Mar 2022 17:00:50 -0500 Subject: [PATCH] remove transaction hash log --- abci/types/types.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/abci/types/types.go b/abci/types/types.go index 45c4dcd56..65b0f6654 100644 --- a/abci/types/types.go +++ b/abci/types/types.go @@ -266,20 +266,20 @@ func (rpp *ResponsePrepareProposal) Validate(maxSizeBytes int64, otxs [][]byte) } } if _, ok := ntx[string(tr.Tx)]; ok { - return errors.New("TxRecords contains duplicate transaction, transaction hash: %x") + return errors.New("TxRecords contains duplicate transaction") } ntx[string(tr.Tx)] = struct{}{} if _, ok := otxsSet[string(tr.Tx)]; ok { if tr.Action == TxRecord_ADDED { - return fmt.Errorf("unmodified transaction incorrectly marked as %s, transaction hash: %x", tr.Action.String()) + return fmt.Errorf("unmodified transaction incorrectly marked as %s", tr.Action.String()) } } else { if tr.Action == TxRecord_REMOVED || tr.Action == TxRecord_UNMODIFIED { - return fmt.Errorf("unmodified transaction incorrectly marked as %s, transaction hash: %x", tr.Action.String()) + return fmt.Errorf("unmodified transaction incorrectly marked as %s", tr.Action.String()) } } if tr.Action == TxRecord_UNKNOWN { - return fmt.Errorf("transaction incorrectly marked as %s, transaction hash: %x", tr.Action.String()) + return fmt.Errorf("transaction incorrectly marked as %s", tr.Action.String()) } } return nil