From e7c0a18212c633033c16c531be42b99949b59417 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Fri, 25 Feb 2022 19:12:21 -0500 Subject: [PATCH] renmae deterministicDeliverTx --- types/results.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/results.go b/types/results.go index 8b0b8fd26..511364000 100644 --- a/types/results.go +++ b/types/results.go @@ -13,7 +13,7 @@ type ABCIResults []*abci.ExecTxResult func NewResults(responses []*abci.ExecTxResult) ABCIResults { res := make(ABCIResults, len(responses)) for i, d := range responses { - res[i] = deterministicResponseDeliverTx(d) + res[i] = deterministicExecTxResult(d) } return res } @@ -42,9 +42,9 @@ func (a ABCIResults) toByteSlices() [][]byte { return bzs } -// deterministicResponseDeliverTx strips non-deterministic fields from +// deterministicExecTxResult strips non-deterministic fields from // ResponseDeliverTx and returns another ResponseDeliverTx. -func deterministicResponseDeliverTx(response *abci.ExecTxResult) *abci.ExecTxResult { +func deterministicExecTxResult(response *abci.ExecTxResult) *abci.ExecTxResult { return &abci.ExecTxResult{ Code: response.Code, Data: response.Data,