defaulthash: let's not ignore errors

@maybebtc fixed it. cc @whyrusleeping