mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Differentiate BlockHeader from Block
This commit is contained in:
@@ -60,12 +60,7 @@ impl<D: Db, S: ScannerFeed> ContinuallyRan for ScanForOutputsTask<D, S> {
|
||||
continue;
|
||||
}
|
||||
|
||||
for output in self
|
||||
.feed
|
||||
.scan_for_outputs(&block, key.key.0)
|
||||
.await
|
||||
.map_err(|e| format!("failed to scan block {b}: {e:?}"))?
|
||||
{
|
||||
for output in block.scan_for_outputs(key.key.0) {
|
||||
assert_eq!(output.key(), key.key.0);
|
||||
// TODO: Check for dust
|
||||
outputs.push(output);
|
||||
|
||||
Reference in New Issue
Block a user