Skip to content
Snippets Groups Projects
Commit 2c2c1ef6 authored by Josh Brooks's avatar Josh Brooks
Browse files

Clean up codebase

parent 70db55c4
No related branches found
No related tags found
2 merge requests!67Release,!47Modify Login_Unsafe for pregenerated user JSON
......@@ -96,10 +96,6 @@ func registerNodes(sender *gateway.Sender, session *storage.Session,
//registerWithNode serves as a helper for RegisterWithNodes
// It registers a user with a specific in the client's ndf.
// todo: follow uci. TransmissionRSA and ReceptionRSA are marshaled into JSON as
// objects. MAke sure JSON is intelligent enough on unmarshal to read that data.
// Also make sure (if unmarshalled correctly) that data makes it's way to storage
// as expected.
func registerWithNode(sender *gateway.Sender, comms RegisterNodeCommsInterface,
ngw network.NodeGateway, regSig []byte, registrationTimestampNano int64,
uci *user.CryptographicIdentity, store *cmix.Store, rng csprng.Source,
......
......@@ -112,7 +112,6 @@ func (u *User) SetReceptionRegistrationValidationSignature(b []byte) {
defer u.rvsMux.Unlock()
//check if the signature already exists
jww.WARN.Printf("receptionValidationSig: %v", u.receptionRegValidationSig)
if u.receptionRegValidationSig != nil {
jww.FATAL.Panicf("cannot overwrite existing reception Identity Validation Signature")
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment