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

Add dubug statement in bindings.GetReceptionRegistrationValidationSignature

parent ec61a6c7
No related branches found
No related tags found
2 merge requests!510Release,!333Frond End Assistance And Iterative Clean Up
......@@ -8,7 +8,9 @@
package bindings
import (
"encoding/base64"
"encoding/json"
jww "github.com/spf13/jwalterweatherman"
"gitlab.com/elixxir/client/xxdk"
"gitlab.com/elixxir/crypto/contact"
"gitlab.com/elixxir/primitives/fact"
......@@ -92,7 +94,10 @@ func (c *Cmix) MakeLegacyReceptionIdentity() ([]byte, error) {
// GetReceptionRegistrationValidationSignature returns the signature provided by
// the xx network.
func (c *Cmix) GetReceptionRegistrationValidationSignature() []byte {
return c.api.GetStorage().GetReceptionRegistrationValidationSignature()
regSig := c.api.GetStorage().GetReceptionRegistrationValidationSignature()
jww.WARN.Printf("UD DEBUG: Reception reg valid sig: %v",
base64.StdEncoding.EncodeToString(regSig))
return regSig
}
////////////////////////////////////////////////////////////////////////////////
......
......@@ -140,8 +140,8 @@ func IsRegisteredWithUD(e2eId int) (bool, error) {
//
// Certain parameters are required every call to this function. These parameters are listed below
// as "REQUIRED". For example, parameters need be provided to specify how to connect to the
// User Discovery service. These parameters may be used to contact either the UD server hosted
// by the xx network team or a custom third-party operated server. For the former,
// User Discovery service. These parameters specifically may be used to contact either the UD
// server hosted by the xx network team or a custom third-party operated server. For the former,
// all the information may be fetched from the NDF using the bindings. These fetch
// methods are detailed in the parameters section.
//
......
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