diff --git a/lib/blockstore/file.js b/lib/blockstore/file.js index 5ebe2aa5..84d2f856 100644 --- a/lib/blockstore/file.js +++ b/lib/blockstore/file.js @@ -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 diff --git a/test/blockstore-test.js b/test/blockstore-test.js index fc69db65..eddd756b 100644 --- a/test/blockstore-test.js +++ b/test/blockstore-test.js @@ -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);