config: add Consensus subsection for dBFT config, fix #2677
Old UnlockWallet is still supported and works just fine.
This commit is contained in:
parent
730849a1cd
commit
883c6c5286
10 changed files with 126 additions and 47 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue