Update transactions.py

Another silly mistake.