mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Don't expose IndexDb throughout the crate
This commit is contained in:
@@ -143,9 +143,6 @@ impl<S: ScannerFeed> ScannerDb<S> {
|
||||
"setting start block but prior set start block"
|
||||
);
|
||||
|
||||
crate::index::IndexDb::set_block(txn, start_block, id);
|
||||
crate::index::IndexDb::set_latest_finalized_block(txn, start_block);
|
||||
|
||||
NextToScanForOutputsBlock::set(txn, &start_block);
|
||||
// We can receive outputs in this block, but any descending transactions will be in the next
|
||||
// block. This, with the check on-set, creates a bound that this value in the DB is non-zero.
|
||||
|
||||
Reference in New Issue
Block a user