Fix python example from two points by adding a transaction node.