Fixing code to assume msg_type and msg_id are top-level....
Fixing code to assume msg_type and msg_id are top-level.
* I have gone through and looked for instances of ['msg_type'] and
['msg_id'] and tried to make sure that I added ['header'] so
pull the values out of the header.
* But there are many cases where I can't tell if the dict is the
full message or the header already. This is especially true
of the msg_id in the parallel db parts of the code.
* Tests pass, but this is scary.