From 104b5406d563e4fa3694b7600a80025e75957987 Mon Sep 17 00:00:00 2001 From: Jane Lusby Date: Mon, 9 Nov 2020 16:31:14 -0800 Subject: [PATCH] Update book/src/dev/rfcs/0005-state-updates.md Co-authored-by: teor --- book/src/dev/rfcs/0005-state-updates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/dev/rfcs/0005-state-updates.md b/book/src/dev/rfcs/0005-state-updates.md index 7971cb54..3d634ab3 100644 --- a/book/src/dev/rfcs/0005-state-updates.md +++ b/book/src/dev/rfcs/0005-state-updates.md @@ -404,7 +404,7 @@ chain and updates all side chains to match. 3. Remove the lowest height block from the best chain with `let finalized_block = best_chain.pop_root();` -4. Add `best_chain` back to `self.chain_set` if it is not empty +4. Add `best_chain` back to `self.chain_set` if `best_chain` is not empty 5. For each remaining `chain` in `side_chains` - remove the lowest height block from `chain`