diff --git a/cmix/identity/tracker.go b/cmix/identity/tracker.go index fc1fb2f2c78b2051c51543ffeace35f082e8a249..18e68d2f7bc34eab98affbf202e88c1a1efef296 100644 --- a/cmix/identity/tracker.go +++ b/cmix/identity/tracker.go @@ -130,7 +130,7 @@ func NewOrLoadTracker(session storage.Session, addrSpace address.Space) *manager // StartProcesses track runs a thread which checks for past and present address // ID. -func (t manager) StartProcesses() stoppable.Stoppable { +func (t *manager) StartProcesses() stoppable.Stoppable { stop := stoppable.NewSingle(ephemeralStoppable) go t.track(stop) diff --git a/connect/connect.go b/connect/connect.go index 310ef304a868f769068ac1d8d95b82ceb28b2945..7276f19c11492b66d1cfc3997c634e809b6cb534 100644 --- a/connect/connect.go +++ b/connect/connect.go @@ -122,6 +122,9 @@ func Connect(recipient contact.Contact, myId *id.ID, privKey *cyclic.Int, rng *fastRNG.StreamGenerator, grp *cyclic.Group, net cmix.Client, p Params) (Connection, error) { + //add the identity + net.AddIdentity(myId, time.Time{}, false) + // Build an ephemeral KV kv := versioned.NewKV(ekv.MakeMemstore())