mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-01 21:05:43 +00:00
Fixed account.PubkeyEd25519 String() bug
This commit is contained in:
@@ -82,5 +82,5 @@ func (pubKey PubKeyEd25519) VerifyBytes(msg []byte, sig_ Signature) bool {
|
||||
}
|
||||
|
||||
func (pubKey PubKeyEd25519) String() string {
|
||||
return Fmt("PubKeyEd25519{%X}", pubKey)
|
||||
return Fmt("PubKeyEd25519{%X}", []byte(pubKey))
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ func initDefaults() {
|
||||
App.SetDefault("RPC.HTTP.ListenAddr", "0.0.0.0:8081")
|
||||
|
||||
App.SetDefault("GenesisFile", rootDir+"/genesis.json")
|
||||
App.SetDefault("AddrbookFile", rootDir+"/addrbook.json")
|
||||
App.SetDefault("AddrBookFile", rootDir+"/addrbook.json")
|
||||
App.SetDefault("PrivValidatorfile", rootDir+"/priv_validator.json")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user