From a9cbe2d7c2f1eac0ec64d9f52b031600547bb2d1 Mon Sep 17 00:00:00 2001 From: yuhangcangqian Date: Fri, 19 Jul 2024 20:04:00 +0900 Subject: [PATCH] chore(code standards): fix wrong godoc for struct field (#976) Signed-off-by: yuhangcangqian --- config/config.go | 2 +- settlement/settlement.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.go b/config/config.go index ee54994bc..c643f9344 100644 --- a/config/config.go +++ b/config/config.go @@ -227,7 +227,7 @@ func (ic InstrumentationConfig) Validate() error { // DBConfig holds configuration for the database. type DBConfig struct { - // SyncWrite makes sure that data is written to disk before returning from a write operation. + // SyncWrites makes sure that data is written to disk before returning from a write operation. SyncWrites bool `mapstructure:"sync_writes"` // InMemory sets the database to run in-memory, without touching the disk. InMemory bool `mapstructure:"in_memory"` diff --git a/settlement/settlement.go b/settlement/settlement.go index 8e6c603a5..99e629be0 100644 --- a/settlement/settlement.go +++ b/settlement/settlement.go @@ -72,7 +72,7 @@ type ClientI interface { // GetBatchAtIndex returns the batch at the given index. GetBatchAtIndex(index uint64) (*ResultRetrieveBatch, error) - // GetSequencersList returns the list of the sequencers for this chain. + // GetSequencers returns the list of the sequencers for this chain. GetSequencers() ([]*types.Sequencer, error) // GetProposer returns the current proposer for this chain. GetProposer() *types.Sequencer