mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Pass the latest active key to the Block's scan function
Effectively necessary for networks on which we utilize account abstraction in order to know what key to associate the received coins with.
This commit is contained in:
@@ -43,7 +43,11 @@ impl<D: Db> primitives::Block for Block<D> {
|
||||
primitives::BlockHeader::id(&BlockHeader(self.1.header))
|
||||
}
|
||||
|
||||
fn scan_for_outputs_unordered(&self, key: Self::Key) -> Vec<Self::Output> {
|
||||
fn scan_for_outputs_unordered(
|
||||
&self,
|
||||
_latest_active_key: Self::Key,
|
||||
key: Self::Key,
|
||||
) -> Vec<Self::Output> {
|
||||
let scanner = scanner(key);
|
||||
|
||||
let mut res = vec![];
|
||||
|
||||
Reference in New Issue
Block a user