Fix checksum comparison error. Closes #402
Merge pull request #404 from ryanxcharles/bug/base58check

tested OK.