From 8a6579d4b642366a028cf7c594a86806d9fc4148 Mon Sep 17 00:00:00 2001 From: Parameswaran Selvam Date: Thu, 12 May 2022 11:34:19 -0700 Subject: [PATCH] Set raft node inital confstate based on latest snapshot Signed-off-by: Parameswaran Selvam --- orderer/consensus/etcdraft/chain.go | 1 + 1 file changed, 1 insertion(+) diff --git a/orderer/consensus/etcdraft/chain.go b/orderer/consensus/etcdraft/chain.go index 44a02371d3f..8a3117ff733 100644 --- a/orderer/consensus/etcdraft/chain.go +++ b/orderer/consensus/etcdraft/chain.go @@ -340,6 +340,7 @@ func NewChain( logger: c.logger, }, } + c.Node.confState.Store(&cc) return c, nil }