config: add Consensus subsection for dBFT config, fix #2677

Old UnlockWallet is still supported and works just fine.
This commit is contained in:
Roman Khimov 2022-12-05 18:11:18 +03:00
parent 730849a1cd
commit 883c6c5286
10 changed files with 126 additions and 47 deletions

View file

@ -158,7 +158,7 @@ func NewTestChain(t *testing.T, f func(*config.Config), run bool) (*core.Blockch
ProtocolConfiguration: chain.GetConfig(),
RequestTx: netSrv.RequestTx,
StopTxFlow: netSrv.StopTxFlow,
Wallet: &cfg.ApplicationConfiguration.UnlockWallet,
Wallet: cfg.ApplicationConfiguration.Consensus.UnlockWallet,
TimePerBlock: serverConfig.TimePerBlock,
})
require.NoError(t, err)