crypto.LedgerShowAddress() is a ledger specific function and should takes acc address prefix instead of depending on a sdk.Config singleton. crypto/keys/mintkey: - decryptPrivKey() return error instead of os.Exit()ing. - encryptPrivKey() should panic instead of os.Exit() when bcrypt.GenerateFromPassword() call fails so that the caller is given a chance to recover(). crypto/keys: - SignWithLedger() does not need to be method of baseKeybase. Method receiver is unused. - ledgerInfo objecta may be pointers, type switch should handle both to avoid panics. - keyringKeybase should not provide Update() at all. More test cases are added to increase package crypto and subpackages overall coverage. |
||
|---|---|---|
| .. | ||
| keys | ||
| amino.go | ||
| encode_test.go | ||
| ledger_mock.go | ||
| ledger_notavail.go | ||
| ledger_real.go | ||
| ledger_secp256k1.go | ||
| ledger_test.go | ||