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 @@ type BlockManager struct {
func AddTestNetFunds(block *Block) {
for _, addr := range []string{
"8a40bfaa73256b60764c1bf40675a99083efb075", // Gavin
"93658b04240e4bd4046fd2d6d417d20f146f4b43", // Jeffrey
"e6716f9544a56c530d868e4bfbacb172315bdead", // Jeffrey
"1e12515ce3e0f817a4ddef9ca55788a1d66bd2df", // Vit
"1a26338f0d905e295fccb71fa9ea849ffa12aaf4", // Alex
} {

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
}