Fix wallet transaction serialisation.
Merge pull request #72 from domob1812/fix-wallettx

Fix wallet transaction serialisation.