func (bv *BlockchainView) GetFinalizedHead() (*BlockNode, primitives.State) {
	bv.lock.Lock()
	defer bv.lock.Unlock()

	return bv.finalizedHead.BlockNode, bv.finalizedHead.State
}
// GetFinalizedHead gets the finalized head of the blockchain.
GetFinalizedHead gets the finalized head of the blockchain.
// GetFinalizedHead gets the finalized head of the blockchain .
func (bv *BlockchainView) GetFinalizedHead() (*BlockNode, primitives.State) {
	bv.lock.Lock()
	defer bv.lock.Unlock()
	return bv.finalizedHead.BlockNode, bv.finalizedHead.State
}
func ( bv * BlockchainView ) GetFinalizedHead ( ) ( * BlockNode , primitives . State ) { bv . lock . Lock ( ) defer bv . lock . Unlock ( ) return bv . finalizedHead . BlockNode , bv . finalizedHead . State }
GetFinalizedHead gets the finalized head of the blockchain.
GetFinalizedHead gets the finalized head of the blockchain .