From 1ee79b8598f7b13bc85a4dc821572ab8cce345c3 Mon Sep 17 00:00:00 2001 From: William Banfield <4561443+williambanfield@users.noreply.github.com> Date: Wed, 9 Mar 2022 16:30:27 -0500 Subject: [PATCH] Update abci/types/types.go Co-authored-by: M. J. Fromberger --- abci/types/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/abci/types/types.go b/abci/types/types.go index a6197948b..90637d898 100644 --- a/abci/types/types.go +++ b/abci/types/types.go @@ -170,8 +170,8 @@ func RespondVerifyVoteExtension(ok bool) ResponseVerifyVoteExtension { } } -// deterministicExecTxResult strips non-deterministic fields from -// ResponseDeliverTx and returns another ResponseDeliverTx. +// deterministicExecTxResult constructs a copy of response that omits +// non-deterministic fields. The input response is not modified. func deterministicExecTxResult(response *ExecTxResult) *ExecTxResult { return &ExecTxResult{ Code: response.Code,