Fixed account.PubkeyEd25519 String() bug

This commit is contained in:
Jae Kwon 2015-01-20 15:45:20 -08:00
parent 687815f6ed
commit 2b39e56e75
2 changed files with 2 additions and 2 deletions

View File

@ -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))
}

View File

@ -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")
}