Is it better to use two nuts, rather than a single long nut on the bolt?
Two nuts can be tightened against each other so that they won't come loose. A single nut can be tightened against whatever it's holding, and if that's wood, the nut can loosen as the wood changes size with changes in humidity.