mirror of https://github.com/poanetwork/gecko.git
nit cleanup
This commit is contained in:
parent
a6317bd60f
commit
18350cf3e3
|
@ -363,11 +363,9 @@ func (e *EngineTest) Chits(validatorID ids.ShortID, requestID uint32, containerI
|
||||||
func (e *EngineTest) IsBootstrapped() bool {
|
func (e *EngineTest) IsBootstrapped() bool {
|
||||||
if e.IsBootstrappedF != nil {
|
if e.IsBootstrappedF != nil {
|
||||||
return e.IsBootstrappedF()
|
return e.IsBootstrappedF()
|
||||||
} else if e.CantIsBootstrapped {
|
}
|
||||||
if e.T != nil {
|
if e.CantIsBootstrapped && e.T != nil {
|
||||||
e.T.Fatalf("Unexpectedly called IsBootstrapped")
|
e.T.Fatalf("Unexpectedly called IsBootstrapped")
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue