blockstore: minor, spelling

This commit is contained in:
Braydon Fuller 2019-03-14 09:01:03 -07:00
parent bdcb392a9c
commit 0f0cb00c54
No known key found for this signature in database
GPG Key ID: F24F232D108B3AD4
2 changed files with 2 additions and 2 deletions

View File

@ -373,7 +373,7 @@ class FileBlockStore extends AbstractBlockStore {
/**
* 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
* @param {Number} type - The type of block data
* @param {Buffer} hash - The block hash

View File

@ -530,7 +530,7 @@ describe('BlockStore', function() {
const block = random.randomBytes(128);
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
// same file position.
const promise = store.write(hash, block);