Commit cff13619 authored by chuangjinglu's avatar chuangjinglu Committed by GitHub

chore: fix some function names in interface comment (#13048)

Signed-off-by: default avatarchuangjinglu <chuangjinglu@outlook.com>
parent c1731a54
...@@ -72,9 +72,9 @@ type Consensus interface { ...@@ -72,9 +72,9 @@ type Consensus interface {
// ClusterMembership returns the current cluster membership configuration and associated version. // ClusterMembership returns the current cluster membership configuration and associated version.
ClusterMembership() (*ClusterMembership, error) ClusterMembership() (*ClusterMembership, error)
// CommitPayload commits latest unsafe payload to the FSM in a strongly consistent fashion. // CommitUnsafePayload commits latest unsafe payload to the FSM in a strongly consistent fashion.
CommitUnsafePayload(payload *eth.ExecutionPayloadEnvelope) error CommitUnsafePayload(payload *eth.ExecutionPayloadEnvelope) error
// LatestUnsafeBlock returns the latest unsafe payload from FSM in a strongly consistent fashion. // LatestUnsafePayload returns the latest unsafe payload from FSM in a strongly consistent fashion.
LatestUnsafePayload() (*eth.ExecutionPayloadEnvelope, error) LatestUnsafePayload() (*eth.ExecutionPayloadEnvelope, error)
// Shutdown shuts down the consensus protocol client. // Shutdown shuts down the consensus protocol client.
......
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