ledger: update benchmark to include updateAcceptedTransactions()
@@ -9,7 +9,7 @@ import (
"testing"
)
-const databasePath = "cmd/testdb"
+const databasePath = "testdb"
const servicesPath = "cmd/services"
func BenchmarkLedger(b *testing.B) {
@@ -64,5 +64,7 @@ func BenchmarkLedger(b *testing.B) {
if err != nil {
b.Fatal(err)
}
+
+ ledger.updateAcceptedTransactions()
}
}
