func GetNewValidatorRegistryDeltaChainTip(currentValidatorRegistryDeltaChainTip chainhash.Hash, validatorIndex uint32, pubkey [96]byte, flag uint64) (chainhash.Hash, error) {
	return ssz.HashTreeRoot(ValidatorRegistryDeltaBlock{
		LatestRegistryDeltaRoot: currentValidatorRegistryDeltaChainTip,
		ValidatorIndex:          validatorIndex,
		Pubkey:                  pubkey,
		Flag:                    flag,
	})
}
// GetNewValidatorRegistryDeltaChainTip gets the new delta chain tip hash.
GetNewValidatorRegistryDeltaChainTip gets the new delta chain tip hash.
// GetNewValidatorRegistryDeltaChainTip gets the new delta chain tip hash .
func GetNewValidatorRegistryDeltaChainTip(currentValidatorRegistryDeltaChainTip chainhash.Hash, validatorIndex uint32, pubkey [96]byte, flag uint64) (chainhash.Hash, error) {
	return ssz.HashTreeRoot(ValidatorRegistryDeltaBlock{
		LatestRegistryDeltaRoot: currentValidatorRegistryDeltaChainTip,
		ValidatorIndex:          validatorIndex,
		Pubkey:                  pubkey,
		Flag:                    flag,
	})
}
func GetNewValidatorRegistryDeltaChainTip ( currentValidatorRegistryDeltaChainTip chainhash . Hash , validatorIndex uint32 , pubkey [ 96 ] byte , flag uint64 ) ( chainhash . Hash , error ) { return ssz . HashTreeRoot ( ValidatorRegistryDeltaBlock { LatestRegistryDeltaRoot : currentValidatorRegistryDeltaChainTip , ValidatorIndex : validatorIndex , Pubkey : pubkey , Flag : flag , } ) }
GetNewValidatorRegistryDeltaChainTip gets the new delta chain tip hash.
GetNewValidatorRegistryDeltaChainTip gets the new delta chain tip hash .