Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write config blocks synchronously in Orderer
Assume the config block contains a transaction which removes the node from consenters, the consensus chain will switch to follower chain which reads last config block from ledger directly. Because of writing config block asynchronously, follower chain maybe read a stale config block in which the node is still a consenter. So the node will switch back to a consenter again. Writting config blocks synchronously would fix this bug. Signed-off-by: Alex-duzhichao <duzhichaomail@gmail.com>
- Loading branch information