From 82a096e90eb06db59d06fba67a7247d12b134499 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Tue, 14 Feb 2023 15:49:16 -0500 Subject: [PATCH] Scanner assert on is_torsion_free --- coins/monero/src/wallet/scan.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coins/monero/src/wallet/scan.rs b/coins/monero/src/wallet/scan.rs index 5d1d4e2b..f4a1f580 100644 --- a/coins/monero/src/wallet/scan.rs +++ b/coins/monero/src/wallet/scan.rs @@ -347,7 +347,7 @@ impl Scanner { // We will not have a torsioned key in our HashMap of keys, so we wouldn't identify it as // ours // If we did though, it'd enable bypassing the included burning bug protection - debug_assert!(output_key.is_torsion_free()); + assert!(output_key.is_torsion_free()); let mut key_offset = shared_key; if let Some(subaddress) = subaddress {