chore: fix some comments (#21238)
Signed-off-by: luozexuan <fetchcode@139.com>
This commit is contained in:
parent
1862e38c9c
commit
7f04ef89e5
@ -728,7 +728,7 @@ And in the application client (usually `root.go`):
|
||||
}
|
||||
```
|
||||
|
||||
When using `depinject` / `app v2`, the a tx config should be recreated from the `txConfigOpts` to use `NewGRPCCoinMetadataQueryFn` instead of depending on the bank keeper (that is used in the server).
|
||||
When using `depinject` / `app v2`, the tx config should be recreated from the `txConfigOpts` to use `NewGRPCCoinMetadataQueryFn` instead of depending on the bank keeper (that is used in the server).
|
||||
|
||||
To learn more see the [docs](https://docs.cosmos.network/main/learn/advanced/transactions#sign_mode_textual) and the [ADR-050](https://docs.cosmos.network/main/build/architecture/adr-050-sign-mode-textual).
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
# to independently set assumptions on input or intermediary variables.
|
||||
#
|
||||
# The general approach is:
|
||||
# * A constraint is a tuple of two sets of of symbolic expressions:
|
||||
# * A constraint is a tuple of two sets of symbolic expressions:
|
||||
# the first of which are required to evaluate to zero, the second of which
|
||||
# are required to evaluate to nonzero.
|
||||
# - A constraint is said to be conflicting if any of its nonzero expressions
|
||||
|
||||
@ -10,7 +10,7 @@ import (
|
||||
"github.com/cosmos/cosmos-sdk/types/address"
|
||||
)
|
||||
|
||||
// NewBaseAccountWithPubKey creates an account with an a pubkey.
|
||||
// NewBaseAccountWithPubKey creates an account with a pubkey.
|
||||
func NewBaseAccountWithPubKey(pubkey cryptotypes.PubKey) (*BaseAccount, error) {
|
||||
if pubkey == nil {
|
||||
return nil, errors.New("pubkey cannot be nil")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user