base58: add paranoid return value checks
Merge pull request #4337

88df548 base58: add paranoid return value checks (Jeff Garzik)