S31_valid_written_block_hash: check sha1 in block controller

Should be catching ValueError here, no?