Update tx.py

Changed the name of called functions to be more consistent.