Skip to content

Commit

Permalink
fix: disable bls key; library version problem is not fixed yet
Browse files Browse the repository at this point in the history
  • Loading branch information
Woosang Son committed Oct 6, 2020
1 parent ae4a469 commit f3da78d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions privval/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import (
"time"

"github.com/tendermint/tendermint/crypto"
"github.com/tendermint/tendermint/crypto/bls"
"github.com/tendermint/tendermint/crypto/composite"
"github.com/tendermint/tendermint/crypto/ed25519"
tmbytes "github.com/tendermint/tendermint/libs/bytes"
tmos "github.com/tendermint/tendermint/libs/os"
Expand Down Expand Up @@ -152,9 +150,7 @@ type FilePV struct {
// GenFilePV generates a new validator with randomly generated private key
// and sets the filePaths, but does not call Save().
func GenFilePV(keyFilePath, stateFilePath string) *FilePV {
signKey := bls.GenPrivKey()
vrfKey := ed25519.GenPrivKey()
privKey := composite.NewPrivKeyComposite(signKey, vrfKey)
privKey := ed25519.GenPrivKey()

return &FilePV{
Key: FilePVKey{
Expand Down

0 comments on commit f3da78d

Please sign in to comment.