mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-30 02:21:08 +02:00
chainntfns: stop neutrino service before closing DB in interface_test.go
This commit is contained in:
@ -1423,8 +1423,8 @@ func TestInterfaces(t *testing.T) {
|
|||||||
spvNode.Start()
|
spvNode.Start()
|
||||||
|
|
||||||
cleanUp = func() {
|
cleanUp = func() {
|
||||||
spvDatabase.Close()
|
|
||||||
spvNode.Stop()
|
spvNode.Stop()
|
||||||
|
spvDatabase.Close()
|
||||||
os.RemoveAll(spvDir)
|
os.RemoveAll(spvDir)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user