Skip to content

Commit

Permalink
chore(code standards): fix wrong godoc for struct field (#976)
Browse files Browse the repository at this point in the history
Signed-off-by: yuhangcangqian <[email protected]>
  • Loading branch information
yuhangcangqian authored Jul 19, 2024
1 parent 9da82f1 commit a9cbe2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
2 changes: 1 addition & 1 deletion settlement/settlement.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9cbe2d

Please sign in to comment.