From b95c26198163335999e746c8cacbe29cab6b01a1 Mon Sep 17 00:00:00 2001 From: Jared Zhou Date: Thu, 14 Oct 2021 16:34:25 +0800 Subject: [PATCH] rpc: fix typo in broadcast commit (#7124) --- internal/rpc/core/mempool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/rpc/core/mempool.go b/internal/rpc/core/mempool.go index c20f02032..5b12a6c2b 100644 --- a/internal/rpc/core/mempool.go +++ b/internal/rpc/core/mempool.go @@ -78,7 +78,7 @@ func (env *Environment) BroadcastTxCommit(ctx *rpctypes.Context, tx types.Tx) (* CheckTx: *r, Hash: tx.Hash(), }, - errors.New("cannot wait for commit because kvEventSync is not enabled") + errors.New("cannot confirm transaction because kvEventSink is not enabled") } startAt := time.Now()