mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 03:59:22 +00:00
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:
parent
41a285ddfa
commit
f5fa6f020d
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue