Skip to content

Commit 5766de7

Browse files
authored
Merge pull request #6441 from taozui472/taozui472-patch
fix typos
2 parents 01a9edc + ba1b96d commit 5766de7

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Filecoin, including venus and all related modules, follows the
4848

4949
## How can I contribute?
5050

51-
Here at `venus`, there’s always a lot of work to do. There are many ways you can support the project, from progamming, writing, organizing, and more. Consider these as starting points:
51+
Here at `venus`, there’s always a lot of work to do. There are many ways you can support the project, from programming, writing, organizing, and more. Consider these as starting points:
5252

5353
- **Submit bugs**: Perform a cursory [search](https://github.com/filecoin-project/venus/issues) to see if the problem has already been reported. If it does exist, add a 👍 to the issue to indicate this is also an issue for you, and add a comment if there is extra information you can contribute. If it does not exist, [create a new issue](https://github.com/filecoin-project/venus/issues/new/choose) (using the Bug report template).
5454

designdocs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ having to parse all the discussions that went into it.
7575
## FAQ
7676

7777
##### How do I know what warrants a designdoc?
78-
A designdoc is a tool so like any apply it judiciously. If you’re building something that other devs are going to work within, or with, and it’s going to take you weeks or months to do it, it’s probably a good candidate for a designdoc. Or if it’s something critically important to the project, that’s probably also worth one. Or if it's a separate thingy with its own structure, then too.
78+
A designdoc is a tool so like any apply it judiciously. If you’re building something that other devs are going to work within, or with, and it’s going to take you weeks or months to do it, it’s probably a good candidate for a designdoc. Or if it’s something critically important to the project, that’s probably also worth one. Or if it's a separate thing with its own structure, then too.
7979

8080
##### But what if the designdoc is wrong?
8181
With probability 1 it will be wrong. The point is to explicitly communicate what we are and are not trying to accomplish and to rationalize a proposal. It’s a planning tool and as soon as it is finished reality will start to diverge. But as they say: plans are worthless but planning is indispensable.

pkg/paychmgr/simple.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ func (pm *Manager) restartPending(ctx context.Context) error {
731731
return group.Wait()
732732
}
733733

734-
// getPaychWaitReady waits for a the response to the message with the given cid
734+
// getPaychWaitReady waits for the response to the message with the given cid
735735
func (ca *channelAccessor) getPaychWaitReady(ctx context.Context, mcid cid.Cid) (address.Address, error) {
736736
ca.lk.Lock()
737737

pkg/vf3/signer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type signer struct {
1515
}
1616

1717
// Sign signs a message with the private key corresponding to a public key.
18-
// The the key must be known by the wallet and be of BLS type.
18+
// The key must be known by the wallet and be of BLS type.
1919
func (s *signer) Sign(ctx context.Context, sender gpbft.PubKey, msg []byte) ([]byte, error) {
2020
addr, err := address.NewBLSAddress(sender)
2121
if err != nil {

venus-shared/types/tipset_key.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func NewTipSetKey(cids ...cid.Cid) TipSetKey {
5858
type TipSetKey struct {
5959
// The internal representation is a concatenation of the bytes of the CIDs, which are
6060
// self-describing, wrapped as a string.
61-
// These gymnastics make the a TipSetKey usable as a map key.
61+
// These gymnastics make a TipSetKey usable as a map key.
6262
// The empty key has value "".
6363
value string
6464
}

0 commit comments

Comments
 (0)