Richard Lyman Bushman discusses Joseph, Smith Money Digging, and the 1826 hearing in a book on Latter-day Saint apologetics.
Richard Lyman Bushman, "Joseph Smith and Money Digging," in Laura Harris Hales, ed., A Reason For Faith: Navigating LDS History and Doctrine (Provo, Utah: Religious Studies Center; Salt Lake City: Deseret Book, 2016), 1-5
At present a question remains about how involved Joseph Smith was in folk magic. Was he enthusiastically pursuing treasure seeking as a business in the 1820s, or was he a somewhat reluctant participant, egged on by his father? Was his worldview fundamentally shaped by folk traditions? I think there is substantial evidence of his reluctance, and, in my opinion, the evidence for extensive involvement is tenuous. But this is a matter of degree. No one denies that magic was there, especially in the mid-1820s. Smith never repudiated folk traditions; he continued to use the seer stone until late in life and used it in the translation process. It certainly had an influence on his outlook, but it was peripheral—not central.