[hf] pass tx to events.log correctly to fix registrar.destroy
- BUG SYMPTOM: phoneNumberRegistrar.destroy is hanging while trying to destroy the channel
- CAUSE: not clear but likely something going on with deadlock. we'd
assumed it was something to do with the call to
channel.destroy
, but perhaps it is in fact to do with the call toeventsRepository.log
, which was passingtransaction
as an attribute to the event it was creating, and not as an option - FIX: try correcting the syntax to see if it elimiantes the timeout