perform check_new_tx inside add_transaction