chore: fix some problematic function names in comment (#22690)

Signed-off-by: thirdkeyword <fliterdashen@gmail.com>
This commit is contained in:
李绪熙
2024-11-29 08:15:29 +00:00
committed by GitHub
parent 6cfe2dc1bb
commit 87f7994353
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ var (
initConfig sync.Once
)
// New returns a new Config with default values.
// NewConfig returns a new Config with default values.
func NewConfig() *Config {
return &Config{
sealedch: make(chan struct{}),
+1 -1
View File
@@ -251,7 +251,7 @@ func (c Context) WithIsCheckTx(isCheckTx bool) Context {
return c
}
// WithIsRecheckTx called with true will also set true on checkTx in order to
// WithIsReCheckTx called with true will also set true on checkTx in order to
// enforce the invariant that if recheckTx = true then checkTx = true as well.
func (c Context) WithIsReCheckTx(isRecheckTx bool) Context {
if isRecheckTx {