Skip to content

Commit 8f96c5a

Browse files
authored
chore(docs): minor typo fixes (#13192)
Signed-off-by: alongdate <[email protected]>
1 parent cfb4c8e commit 8f96c5a

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

blockstore/autobatch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func NewAutobatch(ctx context.Context, backingBs Blockstore, bufferCapacity int)
5252
bufferCapacity: bufferCapacity,
5353
flushCh: make(chan struct{}, 1),
5454
doneCh: make(chan struct{}),
55-
// could be made configable
55+
// could be made configurable
5656
flushRetryDelay: time.Millisecond * 100,
5757
shutdown: cancel,
5858
}

lib/backupds/cbor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func (t *Entry) UnmarshalCBOR(r io.Reader) error {
119119
case cbg.MajNegativeInt:
120120
extraI = int64(extra)
121121
if extraI < 0 {
122-
return fmt.Errorf("int64 negative oveflow")
122+
return fmt.Errorf("int64 negative overflow")
123123
}
124124
extraI = -1 - extraI
125125
default:

lib/sqlite/sqlite.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ func Open(path string) (*sql.DB, error) {
8080

8181
// InitDb initializes the database by checking whether it needs to be created or upgraded.
8282
// The ddls are the DDL statements to create the tables in the database and their initial required
83-
// content. The schemaVersion will be set inside the databse if it is newly created. Otherwise, the
84-
// version is read from the databse and returned. This value should be checked against the expected
83+
// content. The schemaVersion will be set inside the database if it is newly created. Otherwise, the
84+
// version is read from the database and returned. This value should be checked against the expected
8585
// version to determine if the database needs to be upgraded.
8686
// It is up to the caller to close the database if an error is returned by this function.
8787
func InitDb(

lib/ulimit/ulimit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func ManageFdLimit() (changed bool, newLimit uint64, err error) {
9999
// set the soft value
100100
err = setLimit(targetLimit, hard)
101101
if err != nil {
102-
err = fmt.Errorf("error setting ulimit wihout hard limit: %s", err)
102+
err = fmt.Errorf("error setting ulimit without hard limit: %s", err)
103103
break
104104
}
105105
newLimit = targetLimit

node/modules/core.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ func DrandBootstrap(ds dtypes.DrandSchedule) (dtypes.DrandBootstrap, error) {
196196
for _, d := range ds {
197197
addrs, err := addrutil.ParseAddresses(context.TODO(), d.Config.Relays)
198198
if err != nil {
199-
log.Errorf("reoslving drand relays addresses: %+v", err)
199+
log.Errorf("resolving drand relays addresses: %+v", err)
200200
continue
201201
}
202202
res = append(res, addrs...)

0 commit comments

Comments
 (0)