Skip to content

Commit

Permalink
fix: remove VRFProve (#731)
Browse files Browse the repository at this point in the history
* Remove `VRFProve`

* Update `CHANGELOG.md`
  • Loading branch information
ulbqb authored Oct 19, 2022
1 parent c854241 commit 77fc5ce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
* (baseapp) [\#724](https://github.com/line/lbm-sdk/pull/724) add checking pubkey type from validator params
* (x/staking) [\#726](https://github.com/line/lbm-sdk/pull/726) check allowedList size in StakeAuthorization.Accept()
* (x/staking) [\#728](https://github.com/line/lbm-sdk/pull/728) fix typo in unbondingToUnbonded() panic
* (crypto) [\#731](https://github.com/line/lbm-sdk/pull/731) remove VRFProve function
* (x/foundation) [\#732](https://github.com/line/lbm-sdk/pull/732) add verification on accounts into x/foundation Grants cli

### Breaking Changes
Expand Down
5 changes: 0 additions & 5 deletions crypto/ledger/ledger_secp256k1.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"os"

"github.com/btcsuite/btcd/btcec"
"github.com/line/ostracon/crypto"
"github.com/pkg/errors"

tmbtcec "github.com/tendermint/btcd/btcec"
Expand Down Expand Up @@ -91,10 +90,6 @@ func (pkl PrivKeyLedgerSecp256k1) PubKey() types.PubKey {
return pkl.CachedPubKey
}

func (pkl PrivKeyLedgerSecp256k1) VRFProve(seed []byte) (crypto.Proof, error) {
return nil, nil
}

// Sign returns a secp256k1 signature for the corresponding message
func (pkl PrivKeyLedgerSecp256k1) Sign(message []byte) ([]byte, error) {
device, err := getDevice()
Expand Down

0 comments on commit 77fc5ce

Please sign in to comment.