blockstore: minor, spelling
This commit is contained in:
parent
bdcb392a9c
commit
0f0cb00c54
@ -373,7 +373,7 @@ class FileBlockStore extends AbstractBlockStore {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This methods reads data from disk by retrieving the index of
|
* This methods reads data from disk by retrieving the index of
|
||||||
* the data and reading from the correponding file and location.
|
* the data and reading from the corresponding file and location.
|
||||||
* @private
|
* @private
|
||||||
* @param {Number} type - The type of block data
|
* @param {Number} type - The type of block data
|
||||||
* @param {Buffer} hash - The block hash
|
* @param {Buffer} hash - The block hash
|
||||||
|
|||||||
@ -530,7 +530,7 @@ describe('BlockStore', function() {
|
|||||||
const block = random.randomBytes(128);
|
const block = random.randomBytes(128);
|
||||||
const hash = random.randomBytes(32);
|
const hash = random.randomBytes(32);
|
||||||
|
|
||||||
// Accidently don't use `await` and attempt to
|
// Accidentally don't use `await` and attempt to
|
||||||
// write multiple blocks in parallel and at the
|
// write multiple blocks in parallel and at the
|
||||||
// same file position.
|
// same file position.
|
||||||
const promise = store.write(hash, block);
|
const promise = store.write(hash, block);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user