mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Only process blocks which haven't been processed (#13442)
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
This commit is contained in:
@@ -250,7 +250,7 @@ func (m *SparseMerkleTrie) Copy() *SparseMerkleTrie {
|
||||
|
||||
// NumOfItems returns the num of items stored in
|
||||
// the sparse merkle trie. We handle a special case
|
||||
// where if there is only one item stored and it is a
|
||||
// where if there is only one item stored and it is an
|
||||
// empty 32-byte root.
|
||||
func (m *SparseMerkleTrie) NumOfItems() int {
|
||||
var zeroBytes [32]byte
|
||||
|
||||
Reference in New Issue
Block a user