Fix transaction code example
Merge pull request #529 from madarche/feat-improve-doc

Fix transaction code example