From 2b39e56e75735d17168c0429b8fbb049bc30f47b Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Tue, 20 Jan 2015 15:45:20 -0800 Subject: [PATCH] Fixed account.PubkeyEd25519 String() bug --- account/pubkey.go | 2 +- config/config.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/account/pubkey.go b/account/pubkey.go index 48a58c80f..fa8dce578 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 ecf1c1a2b..47c9b8ba6 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") }