// Check that PutBlock returns the expected error when the hash does
// not match the block.
if _, err := PutBlock(BadBlock, TestHash); err != RequestHashError {
// Check that PutBlock returns the expected error when the hash does
// not match the block.
if _, err := PutBlock(BadBlock, TestHash); err != RequestHashError {