It was unconstitutional--they overturned the Betts decision because they stated it violated the 14th Amendment requiring due process.
The Betts decision stated a federal crime did not require a person have an attorney. However, the case of Gideon v. Wainwright overturned the original decision. They stated in all court cases a person has the right to an attorney.