config: drop implicit consensus config via UnlockWallet
Signed-off-by: Roman Khimov <roman@nspcc.ru>
This commit is contained in:
parent
6865848ca7
commit
9f7b19f886
5 changed files with 9 additions and 25 deletions
|
@ -77,7 +77,8 @@ func TestServerStart(t *testing.T) {
|
|||
})
|
||||
t.Run("invalid consensus config", func(t *testing.T) {
|
||||
saveCfg(t, func(cfg *config.Config) {
|
||||
cfg.ApplicationConfiguration.UnlockWallet.Path = "bad_consensus_wallet.json"
|
||||
cfg.ApplicationConfiguration.Consensus.Enabled = true
|
||||
cfg.ApplicationConfiguration.Consensus.UnlockWallet.Path = "bad_consensus_wallet.json"
|
||||
})
|
||||
e.RunWithError(t, baseCmd...)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue