Fixed name reg
This commit is contained in:
parent
6c565eae74
commit
edf10ef8c5
@ -356,7 +356,7 @@ func (gui *Gui) address() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (gui *Gui) RegisterName(name string) {
|
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)
|
gui.pub.Transact(gui.privateKey(), "NameReg", "", "10000", "10000000000000", name)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user