Skip to content
Snippets Groups Projects
Commit 5e1a004a authored by Jake Taylor's avatar Jake Taylor
Browse files

fix

parent b14efc6d
Branches
Tags
4 merge requests!510Release,!419rewrote the health tracker to both consider if there are waiting rounds and...,!371[Channel RSAtoPrivate] Implement Reverse Asymmetric in Client/Broadcast,!340Project/channels
......@@ -22,7 +22,7 @@ import (
const (
registrationDiskKey = "registrationDiskKey"
registrationDiskVersion = 0
graceDuration time.Duration = time.Hour
graceDuration = time.Hour
)
var startChannelNameServiceOnce sync.Once
......@@ -50,8 +50,7 @@ func saveRegistrationDisk(kv *versioned.KV, reg registrationDisk) error {
Timestamp: time.Now(),
Data: regBytes,
}
kv.Set(registrationDiskKey, registrationDiskVersion, &obj)
return nil
return kv.Set(registrationDiskKey, &obj)
}
// registrationDisk is used to encapsulate the channel user's key pair,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment