cache.put(block.getBlockHash(), sameHash);
}
sameHash.add(block);
}
}
<BUG>public Collection<Block> getByResourceId(String resourceId) {
throw new UnsupportedOperationException();
}
public Collection<Block> getBySequenceHash(ByteArray sequenceHash) {

List<Block> result = cache.get(sequenceHash);
</BUG>
if (result != null) {

cache.put(block.getBlockHash(), sameHash);
}
sameHash.add(block);
}
}
public Collection<Block> getByHash(ByteArray hash) {
Collection<Block> result = cache.get(hash);
if (result != null) {
