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

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