Remove unnecessary type check in process_one of transaction model