From 7ba6224fbc4b73629694f9008da775b056d69254 Mon Sep 17 00:00:00 2001 From: DikaCream Date: Wed, 26 Mar 2025 19:47:06 +0700 Subject: [PATCH] fix: merkle_collection following the correct spelling of Merkle. you should verify that the MongoDB struct actually has a method named merkle_collection(). --- src/migrate/migrate_from_mongo_to_rocksdb.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/migrate/migrate_from_mongo_to_rocksdb.rs b/src/migrate/migrate_from_mongo_to_rocksdb.rs index bf512fa..5a8cb36 100644 --- a/src/migrate/migrate_from_mongo_to_rocksdb.rs +++ b/src/migrate/migrate_from_mongo_to_rocksdb.rs @@ -84,7 +84,7 @@ pub fn migrate_from_mongo_to_rocksdb(mongo_uri: &str, rocks_db_path: &str, cname rocks_db.clear()?; // Migrate Merkle records - let merkle_collection = mongo_db.merkel_collection()?; + let merkle_collection = mongo_db.merkle_collection()?; let merkle_cursor = merkle_collection.find(doc! {}, None)?; let mut merkle_count = 0;