mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-17 23:21:21 +00:00
Add app_state from genesis file in InitChain message
This commit is contained in:
committed by
Ethan Buchman
parent
59872bf335
commit
fff0c6cd8e
@ -162,7 +162,7 @@ func NewNode(config *cfg.Config,
|
||||
// and sync tendermint and the app by performing a handshake
|
||||
// and replaying any necessary blocks
|
||||
consensusLogger := logger.With("module", "consensus")
|
||||
handshaker := cs.NewHandshaker(stateDB, state, blockStore)
|
||||
handshaker := cs.NewHandshaker(stateDB, state, blockStore, genDoc.AppState)
|
||||
handshaker.SetLogger(consensusLogger)
|
||||
proxyApp := proxy.NewAppConns(clientCreator, handshaker)
|
||||
proxyApp.SetLogger(logger.With("module", "proxy"))
|
||||
|
Reference in New Issue
Block a user