Tweak loglevel
Clarify documentation
Indent.
Add missing transaction lock
Remove obsolete and wrong commented-out code:
- shouldFetchIdentity() should return FALSE for an untrusted identity, not true.
- It won't ever make sense to start fetching the identity here so we can remove the code which would do that and explain why we don't have to.
Remove useless logging
Simplify function layout