diff --git a/account/pubkey.go b/account/pubkey.go index 48a58c80..fa8dce57 100644 --- a/account/pubkey.go +++ b/account/pubkey.go @@ -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)) } diff --git a/config/config.go b/config/config.go index ecf1c1a2..47c9b8ba 100644 --- a/config/config.go +++ b/config/config.go @@ -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") }