aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-17 23:10:35 +0800
committerobscuren <geffobscura@gmail.com>2014-07-17 23:10:35 +0800
commitedf10ef8c5908ffdc787dc9457da6d735212423d (patch)
tree0bece68a809acc81716c7a43efa529aed39b9f4b
parent6c565eae74b1e1a8175f12fd0e26b70e0ad730c1 (diff)
downloadgo-tangerine-edf10ef8c5908ffdc787dc9457da6d735212423d.tar.gz
go-tangerine-edf10ef8c5908ffdc787dc9457da6d735212423d.tar.zst
go-tangerine-edf10ef8c5908ffdc787dc9457da6d735212423d.zip
Fixed name reg
-rw-r--r--ethereal/gui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereal/gui.go b/ethereal/gui.go
index 9f28045f8..39677c38f 100644
--- a/ethereal/gui.go
+++ b/ethereal/gui.go
@@ -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)
}