Scanner assert on is_torsion_free

This commit is contained in:
Luke Parker
2023-02-14 15:49:16 -05:00
parent c540f52dda
commit 82a096e90e

View File

@@ -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 {