From f5fa6f020d771018e1327eaec93ab67ee9fb0be6 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sun, 12 Mar 2023 03:55:17 -0400 Subject: [PATCH] Remove note about adding in a DB handle It'd arguably be safer yet it isn't worth the API complexity. --- coins/monero/src/wallet/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/coins/monero/src/wallet/mod.rs b/coins/monero/src/wallet/mod.rs index 72f098ba..d7dff8ff 100644 --- a/coins/monero/src/wallet/mod.rs +++ b/coins/monero/src/wallet/mod.rs @@ -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>) -> Scanner { let mut subaddresses = HashMap::new(); subaddresses.insert(pair.spend.compress(), None);