Skip to content

Commit

Permalink
fix: incorrect state transition handling (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
johntaiko authored Oct 23, 2024
1 parent 4bacdac commit 6d1f3ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,12 @@ impl<DB: Database<Error = ProviderError> + DatabaseCommit + OptimisticDatabase>
.into_iter()
.map(|(address, bundle_account)| {
let mut account = Account {
info: bundle_account.info.unwrap_or_default(),
info: bundle_account.account_info().unwrap_or_default(),
storage: bundle_account.storage,
status: AccountStatus::default(),
};
account.mark_touch();
if bundle_account.status.was_destroyed() {
if bundle_account.info.is_none() {
account.mark_selfdestruct();
}
if bundle_account.original_info.is_none() {
Expand Down

0 comments on commit 6d1f3ae

Please sign in to comment.