cosmos / ledger-cosmos-obsolete

Ledger Nano S support for Tendermint/Cosmos
Apache License 2.0
42 stars 29 forks source link

If JSON is not understood, display an error instead of a default value #40

Closed cwgoes closed 6 years ago

cwgoes commented 6 years ago

If the Ledger is passed JSON it does not understand, display an obvious error instead of displaying a default transaction with 1 steak (the latter appears to be the current behavior) - otherwise a malicious client application could just pass incorrectly formatted JSON and get the user to sign a different transaction than they thought they were signing.