Skip to content
Snippets Groups Projects
Commit 58cdc8a6 authored by Tigran Avakyan's avatar Tigran Avakyan
Browse files

Merge branch 'renameToFromPhase-xx-1273' into 'dispatch'

Mockserver missing register node method

See merge request !148
parents 602a599e bdb584ef
No related branches found
No related tags found
No related merge requests found
......@@ -95,6 +95,11 @@ type MockRegistration struct {
//LastReceivedMessage pb.CmixMessage
}
func (s *MockRegistration) RegisterNode(ID []byte,
NodeTLSCert, GatewayTLSCert, RegistrationCode string) error {
return nil
}
// Registers a user and returns a signed public key
func (s *MockRegistration) RegisterUser(registrationCode string,
Y, P, Q, G []byte) (hash, R, S []byte, err error) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment