summaryrefslogtreecommitdiff
path: root/dscuss.go
diff options
context:
space:
mode:
authorVitaly Minko <vitaly.minko@gmail.com>2018-02-14 19:33:23 +0300
committerVitaly Minko <vitaly.minko@gmail.com>2018-02-14 19:33:23 +0300
commit533e1536ed9965bef7d32f7fe57fb968834c2e74 (patch)
treedee799873f7c8bcd70d7300c1c073e8bb17c4f56 /dscuss.go
parent68256d67f0f06c84ebdc44579d5d251b40a9233c (diff)
Updated class diagram.
Diffstat (limited to 'dscuss.go')
-rw-r--r--dscuss.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dscuss.go b/dscuss.go
index 1feae3d..67ab453 100644
--- a/dscuss.go
+++ b/dscuss.go
@@ -140,7 +140,7 @@ func Register(nickname, info string) error {
pow := newPowFinder(privKey.public().encodeToDER())
Log(INFO, string(privKey.public().encodeToPEM()))
proof := pow.find()
- user, err := EmergeUser(nickname, info, proof, time.Now(), &Signer{privKey})
+ user, err := emergeUser(nickname, info, proof, time.Now(), &Signer{privKey})
if err != nil {
Logf(ERROR, "Can't create new user %s: %v", nickname, err)
return err