mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-07-21 23:29:37 +00:00
fix(wallet): removed redundant clones
This commit is contained in:
parent
eaa76f5e7e
commit
7b51d0c200
@ -855,7 +855,7 @@ impl WalletCore {
|
||||
|
||||
println!("Syncing to block {block_id}. Blocks to sync: {num_of_blocks}");
|
||||
|
||||
let poller = self.optimal_poller().clone();
|
||||
let poller = self.optimal_poller();
|
||||
let mut blocks =
|
||||
std::pin::pin!(poller.poll_block_range(last_synced_block.saturating_add(1)..=block_id));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user