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 cli/disputer.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ var disputerStartCmd = &cli.Command{
if err != nil {
disputeLog.Errorw("failed to dispute post message", "err", err.Error(), "miner", dpmsg.To)
} else {
disputeLog.Infow("submited dispute", "mcid", m.Cid(), "miner", dpmsg.To)
disputeLog.Infow("submitted dispute", "mcid", m.Cid(), "miner", dpmsg.To)
}
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/lotus-bench/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ func (rpc *RPCMethod) startWorker(client *http.Client, qpsTicker *time.Ticker) {
} else {
statusCode = &resp.StatusCode

// there was not a HTTP error but we need to still check the json response for errrors
// there was not a HTTP error but we need to still check the json response for errors
var data []byte
data, err = io.ReadAll(resp.Body)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion node/modules/lp2p/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type discoveryHandler struct {
}

func (dh *discoveryHandler) HandlePeerFound(p peer.AddrInfo) {
log.Warnw("discovred peer", "peer", p)
log.Warnw("discovered peer", "peer", p)
ctx, cancel := context.WithTimeout(dh.ctx, discoveryConnTimeout)
defer cancel()
if err := dh.host.Connect(ctx, p); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion node/modules/lp2p/pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ func GossipSub(in GossipIn) (service *pubsub.PubSub, err error) {
transports = append(transports, jsonTransport)
}

tps := make([]string, 0) // range of topics that will be submited to the traces
tps := make([]string, 0) // range of topics that will be submitted to the traces
addTopicToList := func(topicList []string, newTopic string) []string {
// check if the topic is already in the list
for _, tp := range topicList {
Expand Down
2 changes: 1 addition & 1 deletion node/repo/repo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,6 @@ func basicTest(t *testing.T, repo Repo) {

err = kstr.Delete("k2")
if assert.Error(t, err) {
assert.True(t, errors.Is(err, types.ErrKeyInfoNotFound), "returned errror is ErrKeyNotFound")
assert.True(t, errors.Is(err, types.ErrKeyInfoNotFound), "returned error is ErrKeyNotFound")
}
}
Loading