Commit edf10ef8 authored by obscuren's avatar obscuren

Fixed name reg

parent 6c565eae
......@@ -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)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment