diff --git a/p2p/crypto_test.go b/p2p/crypto_test.go
index fb7df6b50ef88fb469296cc3fd34d309c336def7..33cdb3f83fd55ab652eb41e75e630f70d3f66d03 100644
--- a/p2p/crypto_test.go
+++ b/p2p/crypto_test.go
@@ -25,10 +25,14 @@ func TestCryptoHandshake(t *testing.T) {
 	}
 
 	// simulate handshake by feeding output to input
+	// initiator sends handshake 'auth'
 	auth, initNonce, randomPrivKey, _, _ := initiator.startHandshake(receiver.pubKeyDER, sessionToken)
+	// receiver reads auth and responds with response
 	response, remoteRecNonce, remoteInitNonce, remoteRandomPrivKey, _ := receiver.respondToHandshake(auth, crypto.FromECDSAPub(pub0), sessionToken)
+	// initiator reads receiver's response and the key exchange completes
 	recNonce, remoteRandomPubKey, _, _ := initiator.completeHandshake(response)
 
+	// now both parties should have the same session parameters
 	initSessionToken, initSecretRW, _ := initiator.newSession(initNonce, recNonce, auth, randomPrivKey, remoteRandomPubKey)
 	recSessionToken, recSecretRW, _ := receiver.newSession(remoteInitNonce, remoteRecNonce, auth, remoteRandomPrivKey, &randomPrivKey.PublicKey)