mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: use HashMap::from_iter (#13649)
This commit is contained in:
@ -241,7 +241,7 @@ where
|
||||
),
|
||||
);
|
||||
}
|
||||
let all_reverts_init: RevertsInit = std::iter::once((block, reverts_init)).collect();
|
||||
let all_reverts_init: RevertsInit = HashMap::from_iter([(block, reverts_init)]);
|
||||
|
||||
let execution_outcome = ExecutionOutcome::new_init(
|
||||
state_init,
|
||||
|
||||
Reference in New Issue
Block a user