Fixed name reg

This commit is contained in:
obscuren 2014-07-17 17:10:35 +02:00
parent 6c565eae74
commit edf10ef8c5

@ -356,7 +356,7 @@ func (gui *Gui) address() []byte {
}
func (gui *Gui) RegisterName(name string) {
name = fmt.Sprintf("\"%s\"", name)
name = fmt.Sprintf("\"register\"\n\"%s\"", name)
gui.pub.Transact(gui.privateKey(), "NameReg", "", "10000", "10000000000000", name)
}