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 deps/config/dynamic.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func EnableChangeDetection[T any](db *harmonydb.DB, obj T, layers []string, fixu
return nil
}

// copyWithOriginalDynamics copies the original dynamics from the original object to the new object.
// CopyWithOriginalDynamics copies the original dynamics from the original object to the new object.
func CopyWithOriginalDynamics[T any](orig T) (T, error) {
typ := reflect.TypeOf(orig)
val := reflect.ValueOf(orig)
Expand Down
2 changes: 1 addition & 1 deletion harmony/harmonydb/harmonydb.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (

type ITestID string

// ItestNewID see ITestWithID doc
// ITestNewID see ITestWithID doc
func ITestNewID() ITestID {
return ITestID(strconv.Itoa(rand.Intn(99999)))
}
Expand Down
2 changes: 1 addition & 1 deletion market/indexstore/indexstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func NewIndexStore(hosts []string, port int, cfg *config.CurioConfig) *IndexStor

type ITestID string

// ItestNewID see ITestWithID doc
// ITestNewID see ITestWithID doc
func ITestNewID() ITestID {
return ITestID(strconv.Itoa(rand.Intn(99999)))
}
Expand Down
2 changes: 1 addition & 1 deletion market/mk12/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type MK12DealHandler struct {
disabledMiners []address.Address
}

// NewMarketDealHandler creates a new Redirector with a database connection
// NewMK12DealHandler creates a new Redirector with a database connection
func NewMK12DealHandler(db *harmonydb.DB, cfg *config.CurioConfig, dm *storage_market.CurioStorageDealMarket) (*MK12DealHandler, error) {
var disabledMiners []address.Address
for _, m := range cfg.Market.StorageMarketConfig.MK12.DisabledMiners {
Expand Down