Fix resetting of txstatus flags.
Merge pull request #64 from iazz/master

Fix resetting of txstatus flags.