Skip to content

Commit

Permalink
chore: fix some comments (#1075)
Browse files Browse the repository at this point in the history
Signed-off-by: cuiweiyuan <[email protected].>
  • Loading branch information
cuiweiyuan authored Aug 15, 2024
1 parent 9054a2d commit f7224d0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/docs/swagger_legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ paths:
parameters:
- in: body
name: txBroadcast
description: The tx must be a signed StdTx. The supported broadcast modes include `"block"`(return after tx commit), `"sync"`(return afer CheckTx) and `"async"`(return right away).
description: The tx must be a signed StdTx. The supported broadcast modes include `"block"`(return after tx commit), `"sync"`(return after CheckTx) and `"async"`(return right away).
required: true
schema:
type: object
Expand Down Expand Up @@ -524,7 +524,7 @@ paths:
sequence:
type: string
500:
description: Server internel error
description: Server internal error
/staking/delegators/{delegatorAddr}/delegations:
parameters:
- in: path
Expand Down
4 changes: 2 additions & 2 deletions app/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type App interface {
Name() string

// The application types codec.
// NOTE: This shoult be sealed before being returned.
// NOTE: This should be sealed before being returned.
LegacyAmino() *codec.LegacyAmino

// Application updates every begin block.
Expand All @@ -36,6 +36,6 @@ type App interface {
forZeroHeight bool, jailAllowedAddrs []string, modulesToExport []string,
) (servertypes.ExportedApp, error)

// All the registered module account addreses.
// All the registered module account addresses.
ModuleAccountAddrs() map[string]bool
}
2 changes: 1 addition & 1 deletion integration_tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ def test_statesync(cluster):

# discovery_time is set to 5 seconds, add extra seconds for processing
wait_for_block(cluster.cosmos_cli(i), 10)
print("succesfully syncing")
print("successfully syncing")

0 comments on commit f7224d0

Please sign in to comment.