Commit 25972bd8 authored by mountcount's avatar mountcount Committed by GitHub

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

Signed-off-by: default avatarmountcount <cuimoman@outlook.com>
parent 94056b99
......@@ -58,7 +58,7 @@ func TestSendStateNoAbortAfterProcessOtherError(t *testing.T) {
require.Nil(t, sendState.CriticalError())
}
// TestSendStateAbortSafelyAfterNonceTooLowButNoTxMined asserts that we will abort after the very
// TestSendStateAbortSafelyAfterNonceTooLowNoTxPublished asserts that we will abort after the very
// first none-too-low error if a tx hasn't yet been published.
func TestSendStateAbortSafelyAfterNonceTooLowNoTxPublished(t *testing.T) {
sendState := newSendState()
......
......@@ -47,7 +47,7 @@ func (q *QueryFrontend) CheckMessage(identifier types.Identifier, payloadHash co
return q.Supervisor.CheckMessage(identifier, payloadHash)
}
// CheckMessage checks the safety-level of a collection of messages,
// CheckMessages checks the safety-level of a collection of messages,
// and returns if the minimum safety-level is met for all messages.
func (q *QueryFrontend) CheckMessages(
messages []types.Message,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment