Skip to content

Commit 1b0348e

Browse files
authored
Fix Typos in Documentation Comments (#852)
* Update SidePanel.js Signed-off-by: leopardracer <[email protected]> * Update proposal.proto Signed-off-by: leopardracer <[email protected]> * Update resources.proto Signed-off-by: leopardracer <[email protected]> * Update transaction.proto Signed-off-by: leopardracer <[email protected]> --------- Signed-off-by: leopardracer <[email protected]>
1 parent affbd57 commit 1b0348e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/apollo/src/components/SidePanel/__mocks__/SidePanel.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* this file is used to return a mock implementation of the SidePanel component
2121
* elsewhere we use inline jest mocks to mock unwanted child components, but this wasn't possible with SidePanel due to its use of refs
22-
* it's not possible to pass refs to functional componenets without using React.forwardRef, but jest doesn't allow inline references to external modules
22+
* it's not possible to pass refs to functional components without using React.forwardRef, but jest doesn't allow inline references to external modules
2323
* instead we create an actual React component in a separate mock file and replace SidePanel in the test files
2424
*/
2525

packages/stitch/src/protoc/input/v2.0/peer/proposal.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ SignedTransaction
199199
\_ ChaincodeAction (the actions for this proposal)
200200
*/
201201

202-
// ChaincodeHeaderExtension is the Header's extentions message to be used when
202+
// ChaincodeHeaderExtension is the Header's extensions message to be used when
203203
// the Header's type is CHAINCODE. This extensions is used to specify which
204204
// chaincode to invoke and what should appear on the ledger.
205205
message ChaincodeHeaderExtension {

packages/stitch/src/protoc/input/v2.0/peer/resources.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ message ChaincodeValidation {
2929
bytes argument = 2; // When 'vscc' a marshaled VSCCArgs
3030
}
3131

32-
// VSCCArgs is passed (marshaled) as a parameter to the VSCC imlementation via the
32+
// VSCCArgs is passed (marshaled) as a parameter to the VSCC implementation via the
3333
// argument field of the ChaincodeValidation message.
3434
message VSCCArgs {
3535
string endorsement_policy_ref = 1; // A named reference to an endorsement policy,

packages/stitch/src/protoc/input/v2.0/peer/transaction.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ message ChaincodeActionPayload {
8484
message ChaincodeEndorsedAction {
8585
// This is the bytes of the ProposalResponsePayload message signed by the
8686
// endorsers. Recall that for the CHAINCODE type, the
87-
// ProposalResponsePayload's extenstion field carries a ChaincodeAction
87+
// ProposalResponsePayload's extension field carries a ChaincodeAction
8888
bytes proposal_response_payload = 1;
8989

9090
// The endorsement of the proposal, basically the endorser's signature over

0 commit comments

Comments
 (0)