Fixing transaction example - fixes #78