From 0d2116bbec42231ee0960858757972d88c0ee07c Mon Sep 17 00:00:00 2001 From: davhojt Date: Thu, 5 May 2022 12:05:37 +0100 Subject: [PATCH] fix(block-chain): improve description of data --- subjects/block-chain/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subjects/block-chain/README.md b/subjects/block-chain/README.md index cac9df89..3ecf148a 100644 --- a/subjects/block-chain/README.md +++ b/subjects/block-chain/README.md @@ -11,7 +11,7 @@ A block must have the following properties: - `index` - `hash`: a computed hash using the `hashCode` function provided. You will need to pass it a concatenation of the block's `index`, the previous block's `hash` and the block's stringified `data`. -- `data`: any valid JSON object. +- `data`: any valid object. - `prev`: the previous block. - `chain`: a function that accepts `data` as an argument, and creates the next block with it.