Skip to content

Commit

Permalink
chore: fix typos (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjingcun authored Dec 16, 2024
1 parent ff73a74 commit 1508b84
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/nm.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func init() {

func startNodeManagerService(*cobra.Command, []string) {
if !nmOpt.cfxEnabled && !nmOpt.ethEnabled {
logrus.Fatal("No node mananger server specified")
logrus.Fatal("No node manager server specified")
}

storeCtx := util.MustInitStoreContext()
Expand Down
2 changes: 1 addition & 1 deletion store/mysql/store_log_virtual_filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func NewVirtualFilterLogStore(db *gorm.DB) *VirtualFilterLogStore {
}
}

// PreparePartitions createa new log partition for the virtual filter if necessary.
// PreparePartition create a new log partition for the virtual filter if necessary.
func (vfls *VirtualFilterLogStore) PreparePartition(fid string) (bnPartition, bool, error) {
fentity, ftabler := vfls.filterEntity(fid), vfls.filterTabler(fid)
partition, newCreated, err := vfls.autoPartition(fentity, ftabler, bnPartitionedLogVolumeSize)
Expand Down
2 changes: 1 addition & 1 deletion sync/election/leader_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var (
}
)

// Please set the following enviroments before running tests:
// Please set the following environments before running tests:
// `TEST_DLOCK_MYSQL_HOST`: MySQL database host;
// `TEST_DLOCK_MYSQL_USER`: MySQL database username;
// `TEST_DLOCK_MYSQL_PWD`: MySQL database password;
Expand Down
2 changes: 1 addition & 1 deletion test/rpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var (
wcfxTest = cfxaddress.MustNewFromBase32("cfxtest:achs3nehae0j6ksvy1bhrffsh1rtfrw1f6w1kzv46t")
)

// Please set the following enviroments to start:
// Please set the following environments to start:
// `TEST_CFX_FULL_NODE`: Core space full node endpoint as benchmarking data source.
// `TEST_CFX_INFURA_NODE`: Core space infura service endpoint to be validated against.

Expand Down
2 changes: 1 addition & 1 deletion util/rpc/handlers/vip.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

const (
// Minimun length for a valid access token
// Minimum length for a valid access token
minAccessTokenLength = 20
)

Expand Down
2 changes: 1 addition & 1 deletion virtualfilter/validity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var (
}
)

// Please set the following enviroments before running the validity test:
// Please set the following environments before running the validity test:
// `TEST_CFX_CLIENT_ENDPOINT`: Core space JSON-RPC endpoint to construct sdk client.
// `TEST_ETH_CLIENT_ENDPOINT`: EVM space JSON-RPC endpoint to construct sdk client.
//
Expand Down

0 comments on commit 1508b84

Please sign in to comment.