Use SignModeLegacyAminoJSON when signer is ledger key (#8136)
* Use SignModeLegacyAminoJSON when signer is ledger key * Fix tests * Fix lint * Fix tests * Add warning message Co-authored-by: Alessio Treglia <alessio@tendermint.com>
This commit is contained in:
co-authored by
Alessio Treglia
parent
88ab508f2e
commit
bce5da0e84
@@ -30,6 +30,11 @@ const (
|
||||
// BroadcastAsync defines a tx broadcasting mode where the client returns
|
||||
// immediately.
|
||||
BroadcastAsync = "async"
|
||||
|
||||
// SignModeDirect is the value of the --sign-mode flag for SIGN_MODE_DIRECT
|
||||
SignModeDirect = "direct"
|
||||
// SignModeLegacyAminoJSON is the value of the --sign-mode flag for SIGN_MODE_LEGACY_AMINO_JSON
|
||||
SignModeLegacyAminoJSON = "amino-json"
|
||||
)
|
||||
|
||||
// List of CLI flags
|
||||
|
||||
Reference in New Issue
Block a user