Skip to content
This repository has been archived by the owner on Feb 6, 2025. It is now read-only.

Commit

Permalink
fix snapshot issue
Browse files Browse the repository at this point in the history
  • Loading branch information
forcodedancing committed May 16, 2024
1 parent 56907ab commit a52ab62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bsc/evm/src/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ where
}

let ref parent = self.get_header_by_hash(header.number - 1, header.parent_hash)?;
let ref snap = self.snapshot(header, Some(parent))?;
let ref snap = self.snapshot(parent, None)?;

self.verify_block_time_for_ramanujan(snap, header, parent)?;
self.verify_vote_attestation(snap, header, parent)?;
Expand Down

0 comments on commit a52ab62

Please sign in to comment.