Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion blockstore/autobatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func NewAutobatch(ctx context.Context, backingBs Blockstore, bufferCapacity int)
bufferCapacity: bufferCapacity,
flushCh: make(chan struct{}, 1),
doneCh: make(chan struct{}),
// could be made configable
// could be made configurable
flushRetryDelay: time.Millisecond * 100,
shutdown: cancel,
}
Expand Down
2 changes: 1 addition & 1 deletion lib/backupds/cbor.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (t *Entry) UnmarshalCBOR(r io.Reader) error {
case cbg.MajNegativeInt:
extraI = int64(extra)
if extraI < 0 {
return fmt.Errorf("int64 negative oveflow")
return fmt.Errorf("int64 negative overflow")
}
extraI = -1 - extraI
default:
Expand Down
4 changes: 2 additions & 2 deletions lib/sqlite/sqlite.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ func Open(path string) (*sql.DB, error) {

// InitDb initializes the database by checking whether it needs to be created or upgraded.
// The ddls are the DDL statements to create the tables in the database and their initial required
// content. The schemaVersion will be set inside the databse if it is newly created. Otherwise, the
// version is read from the databse and returned. This value should be checked against the expected
// content. The schemaVersion will be set inside the database if it is newly created. Otherwise, the
// version is read from the database and returned. This value should be checked against the expected
// version to determine if the database needs to be upgraded.
// It is up to the caller to close the database if an error is returned by this function.
func InitDb(
Expand Down
2 changes: 1 addition & 1 deletion lib/ulimit/ulimit.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func ManageFdLimit() (changed bool, newLimit uint64, err error) {
// set the soft value
err = setLimit(targetLimit, hard)
if err != nil {
err = fmt.Errorf("error setting ulimit wihout hard limit: %s", err)
err = fmt.Errorf("error setting ulimit without hard limit: %s", err)
break
}
newLimit = targetLimit
Expand Down
2 changes: 1 addition & 1 deletion node/modules/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func DrandBootstrap(ds dtypes.DrandSchedule) (dtypes.DrandBootstrap, error) {
for _, d := range ds {
addrs, err := addrutil.ParseAddresses(context.TODO(), d.Config.Relays)
if err != nil {
log.Errorf("reoslving drand relays addresses: %+v", err)
log.Errorf("resolving drand relays addresses: %+v", err)
continue
}
res = append(res, addrs...)
Expand Down
Loading