Skip to content

Commit

Permalink
Set raft node inital confstate based on latest snapshot
Browse files Browse the repository at this point in the history
Signed-off-by: Parameswaran Selvam <parselva@in.ibm.com>
  • Loading branch information
Param-S committed May 12, 2022
1 parent 7933d80 commit c11ee83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions orderer/consensus/etcdraft/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ func NewChain(
logger: c.logger,
},
}
c.Node.confState.Store(cc)

return c, nil
}
Expand Down

0 comments on commit c11ee83

Please sign in to comment.