Make sure to pass a hashtype if you have it
Merge pull request #12492 from jacksontj/develop

Make sure to pass a hashtype if you have it