try using bg context on constructor.
This commit is contained in:
parent
71a7270c98
commit
098eb6bfff
@ -245,8 +245,7 @@ func (n *Ensemble) Miner(miner *TestMiner, full *TestFullNode, opts ...NodeOpt)
|
||||
|
||||
// Start starts all enrolled nodes.
|
||||
func (n *Ensemble) Start() *Ensemble {
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
n.t.Cleanup(cancel)
|
||||
ctx := context.Background()
|
||||
|
||||
var gtempl *genesis.Template
|
||||
if !n.bootstrapped {
|
||||
|
Loading…
Reference in New Issue
Block a user