Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ func (bc *BlockChain) GetJustifiedNumber(header *types.Header) uint64 {
return 0
}

// getFinalizedNumber returns the highest finalized number before the specific block.
// GetFinalizedNumber returns the highest finalized number before the specific block.
func (bc *BlockChain) GetFinalizedNumber(header *types.Header) uint64 {
if p, ok := bc.engine.(consensus.PoSA); ok {
if finalizedHeader := p.GetFinalizedHeader(bc, header); finalizedHeader != nil {
Expand Down
2 changes: 1 addition & 1 deletion core/headerchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (hc *HeaderChain) GetJustifiedNumber(header *types.Header) uint64 {
return 0
}

// getFinalizedNumber returns the highest finalized number before the specific block.
// GetFinalizedNumber returns the highest finalized number before the specific block.
func (hc *HeaderChain) GetFinalizedNumber(header *types.Header) uint64 {
if p, ok := hc.engine.(consensus.PoSA); ok {
if finalizedHeader := p.GetFinalizedHeader(hc, header); finalizedHeader != nil {
Expand Down
2 changes: 1 addition & 1 deletion core/verkle_witness_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ func TestProcessVerkleSelfDestructInSeparateTx(t *testing.T) {
}
}

// TestProcessVerkleSelfDestructInSeparateTx controls the contents of the witness after
// TestProcessVerkleSelfDestructInSameTx controls the contents of the witness after
// a eip6780-compliant selfdestruct occurs.
func TestProcessVerkleSelfDestructInSameTx(t *testing.T) {
// The test txs were taken from a secondary testnet with chain id 69421
Expand Down