Fixes transaction example.

Yes, what's wrong with it?