Skip to content
Snippets Groups Projects
Commit 4eb4f4a8 authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

fixed print in handler

parent 4cf2d2cf
No related branches found
No related tags found
No related merge requests found
...@@ -64,8 +64,8 @@ func track(session *storage.Session, ourId *id.ID, stop *stoppable.Single) { ...@@ -64,8 +64,8 @@ func track(session *storage.Session, ourId *id.ID, stop *stoppable.Single) {
protoIds, err := ephemeral.GetIdsByRange(ourId, receptionStore.GetIDSize(), protoIds, err := ephemeral.GetIdsByRange(ourId, receptionStore.GetIDSize(),
now, now.Sub(lastCheck)) now, now.Sub(lastCheck))
jww.DEBUG.Printf("Now: %d, LastCheck: %v, Different: %v", jww.DEBUG.Printf("Now: %s, LastCheck: %s, Different: %s",
now.UnixNano(), lastCheck, now.Sub(lastCheck)) now, lastCheck, now.Sub(lastCheck))
jww.DEBUG.Printf("protoIds Count: %d", len(protoIds)) jww.DEBUG.Printf("protoIds Count: %d", len(protoIds))
......
...@@ -47,7 +47,8 @@ func (m *Manager) handleMessage(ecrMsg format.Message, identity reception.Identi ...@@ -47,7 +47,8 @@ func (m *Manager) handleMessage(ecrMsg format.Message, identity reception.Identi
var relationshipFingerprint []byte var relationshipFingerprint []byte
//check if the identity fingerprint matches //check if the identity fingerprint matches
forMe, err := fingerprint2.CheckIdentityFP(ecrMsg.GetIdentityFP(), ecrMsg.GetContents(), identity.Source) forMe, err := fingerprint2.CheckIdentityFP(ecrMsg.GetIdentityFP(),
ecrMsg.GetContents(), identity.Source)
if err != nil { if err != nil {
jww.FATAL.Panicf("Could not check IdentityFIngerprint: %+v", err) jww.FATAL.Panicf("Could not check IdentityFIngerprint: %+v", err)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment