Remove note about adding in a DB handle

It'd arguably be safer yet it isn't worth the API complexity.
This commit is contained in:
Luke Parker 2023-03-12 03:55:17 -04:00
parent 41a285ddfa
commit f5fa6f020d
No known key found for this signature in database

View file

@ -213,7 +213,6 @@ impl Scanner {
/// When a new scanner is created, ALL saved output keys must be passed in to be secure.
/// If None is passed, a modified shared key derivation is used which is immune to the burning
/// bug (specifically the Guaranteed feature from Featured Addresses).
// TODO: Should this take in a DB access handle to ensure output keys are saved?
pub fn from_view(pair: ViewPair, burning_bug: Option<HashSet<CompressedEdwardsY>>) -> Scanner {
let mut subaddresses = HashMap::new();
subaddresses.insert(pair.spend.compress(), None);