From 6989f1bb51029c1ce01b48d8c8b5d85c71185517 Mon Sep 17 00:00:00 2001 From: Quantum Explorer Date: Mon, 4 Nov 2024 03:46:11 +0100 Subject: [PATCH] fix: issue where apply batch was not using transaction remove_all_votes_given_by_identities --- .../cleanup/remove_all_votes_given_by_identities/v0/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rs-drive/src/drive/votes/cleanup/remove_all_votes_given_by_identities/v0/mod.rs b/packages/rs-drive/src/drive/votes/cleanup/remove_all_votes_given_by_identities/v0/mod.rs index 3c36b0ec64..d4f0a04d2d 100644 --- a/packages/rs-drive/src/drive/votes/cleanup/remove_all_votes_given_by_identities/v0/mod.rs +++ b/packages/rs-drive/src/drive/votes/cleanup/remove_all_votes_given_by_identities/v0/mod.rs @@ -114,7 +114,7 @@ impl Drive { if !deletion_batch.is_empty() { self.apply_batch_low_level_drive_operations( None, - None, + transaction, deletion_batch, &mut vec![], &platform_version.drive,