Fix warning on empty tx