Skip to content

Commit 1c248f4

Browse files
committed
fix: basic tests passing
1 parent e178d7d commit 1c248f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎nightfall-client/src/services/commitment-storage.mjs

+2
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export async function countCommitments(commitments) {
5656
return db.collection(COMMITMENTS_COLLECTION).countDocuments(query);
5757
}
5858

59+
/*
5960
// function to get count of transaction hashes. Used to decide if we should store
6061
// incoming blocks or transactions.
6162
export async function countTransactionHashes(transactionHashes) {
@@ -64,6 +65,7 @@ export async function countTransactionHashes(transactionHashes) {
6465
const db = connection.db(COMMITMENTS_DB);
6566
return db.collection(COMMITMENTS_COLLECTION).countDocuments(query);
6667
}
68+
*/
6769

6870
// function to mark a commitments as on chain for a mongo db
6971
export async function markOnChain(

0 commit comments

Comments
 (0)