Commit 90925fec authored by Michel Schudel's avatar Michel Schudel

fixed another typo.

parent 7fe666f7
......@@ -201,7 +201,7 @@ You now have a fully functional Blockchain node that has a blockchain, a transac
Right now, your blockchain exists in memory only. Therefore,
it is useful to write the blockchain to disk.
There is a `GenericRepository` class that has a `load` and `save` method you can use to store arbitrary data.
- Modify the `init` method on the`BlockChainService` bean so that
- Modify the `initializeBlockchain` method on the`BlockChainService` bean so that
you first try to load the blockchain from disk with `genericRepository.load(Blockchain.class)`.
If this does not work (loading returns an empty optional),
then initialize the blockchain with a genesis block.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment