mirror of
https://github.com/tendermint/tendermint.git
synced 2026-06-02 20:36:25 +00:00
Bugfix
This commit is contained in:
@@ -27,7 +27,7 @@ func pubkeyLedger(device *ledger.Ledger) (pub PubKey, err error) {
|
||||
// Reserialize in the 33-byte compressed format
|
||||
cmp, err := secp256k1.ParsePubKey(key[:], secp256k1.S256())
|
||||
copy(p[:], cmp.SerializeCompressed())
|
||||
return pub, err
|
||||
return p, err
|
||||
}
|
||||
|
||||
func signLedger(device *ledger.Ledger, msg []byte) (sig Signature, err error) {
|
||||
|
||||
Reference in New Issue
Block a user