diff --git a/core/blockchain.go b/core/blockchain.go index 15a0dbfd59..755b4a6610 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -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 { diff --git a/core/headerchain.go b/core/headerchain.go index cc0677fde6..f9a7b4383d 100644 --- a/core/headerchain.go +++ b/core/headerchain.go @@ -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 { diff --git a/core/verkle_witness_test.go b/core/verkle_witness_test.go index f6ce8605b4..20c36ce86d 100644 --- a/core/verkle_witness_test.go +++ b/core/verkle_witness_test.go @@ -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