summaryrefslogtreecommitdiff
path: root/test/framework/fixtures/libgoalFixture.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/framework/fixtures/libgoalFixture.go')
-rw-r--r--test/framework/fixtures/libgoalFixture.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/framework/fixtures/libgoalFixture.go b/test/framework/fixtures/libgoalFixture.go
index 0aea3989c..7e57f4bfa 100644
--- a/test/framework/fixtures/libgoalFixture.go
+++ b/test/framework/fixtures/libgoalFixture.go
@@ -170,6 +170,7 @@ func (f *LibGoalFixture) importRootKeys(lg *libgoal.Client, dataDir string) {
f.failOnError(err, "couldn't import secret: %v")
}
accountsWithRootKeys[root.Address().String()] = true
+ handle.Close()
} else if config.IsPartKeyFilename(filename) {
// Fetch a handle to this database
handle, err = db.MakeErasableAccessor(filepath.Join(keyDir, filename))