From 0f0cb00c541732f4eca0351fba1871ad1dc9b630 Mon Sep 17 00:00:00 2001 From: Braydon Fuller Date: Thu, 14 Mar 2019 09:01:03 -0700 Subject: [PATCH] blockstore: minor, spelling --- lib/blockstore/file.js | 2 +- test/blockstore-test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);