mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
perf: query accounts with &Address to avoid copying address (#13554)
This commit is contained in:
@ -119,7 +119,7 @@ fn setup_provider(
|
||||
// other updates
|
||||
let should_process = match account.status {
|
||||
AccountStatus::SelfDestructed => {
|
||||
provider_rw.basic_account(*address).ok().flatten().is_some()
|
||||
provider_rw.basic_account(address).ok().flatten().is_some()
|
||||
}
|
||||
_ => true,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user