Added new address

This commit is contained in:
obscuren
2014-02-18 12:10:21 +01:00
parent d7eca7bcc1
commit c866fcc5b3
3 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ func ReadConfig(base string) *config {
}
}
Config = &config{ExecPath: path, Debug: true, Ver: "0.2.2"}
Config = &config{ExecPath: path, Debug: true, Ver: "0.2.3"}
Config.Log = NewLogger(LogFile|LogStd, 0)
}

View File

@ -58,7 +58,7 @@ func MatchingNibbleLength(a, b []int) int {
func Hex(d []byte) string {
return hex.EncodeToString(d)
}
func ToHex(str string) []byte {
func FromHex(str string) []byte {
h, _ := hex.DecodeString(str)
return h
}