modified transaction.cpp comments