From 2c2c1ef623f7814b75e4d9a88b835a53d6591784 Mon Sep 17 00:00:00 2001 From: josh <josh@elixxir.io> Date: Mon, 25 Oct 2021 14:52:07 -0700 Subject: [PATCH] Clean up codebase --- network/node/register.go | 4 ---- storage/user/registation.go | 1 - 2 files changed, 5 deletions(-) diff --git a/network/node/register.go b/network/node/register.go index fd61aa77f..a4424eb18 100644 --- a/network/node/register.go +++ b/network/node/register.go @@ -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, diff --git a/storage/user/registation.go b/storage/user/registation.go index 5644be40d..4da19b4cd 100644 --- a/storage/user/registation.go +++ b/storage/user/registation.go @@ -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") } -- GitLab