From f8f7e92da45b24c15d0999bb5c71737e885fa897 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Nguyen?= Date: Tue, 19 May 2020 07:29:27 +0200 Subject: [PATCH] Fix a minor typo in cookbook blocks docs (#2294) --- docs/cookbook/blocks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cookbook/blocks.md b/docs/cookbook/blocks.md index 2a34177d12..96e5df53d4 100644 --- a/docs/cookbook/blocks.md +++ b/docs/cookbook/blocks.md @@ -25,7 +25,7 @@ signedBlock.block.extrinsics.forEach((ex, index) => { ## How do I extract the block author? -Th block author is encoded inside the consensus logs for the block. To extract, you need to decode the log (which the API does do) and then map the index of the validator to the list of session validators. This extraction is however available on the api derive for new head subscriptions, which returns an extended header with the author populated (assuming that the digest logs are known). +The block author is encoded inside the consensus logs for the block. To extract, you need to decode the log (which the API does do) and then map the index of the validator to the list of session validators. This extraction is however available on the api derive for new head subscriptions, which returns an extended header with the author populated (assuming that the digest logs are known). ```js // subscribe to all new headers (with extended info)