// If the block is empty, it will return 0.
If the block is empty, it will return 0.
// If the block is empty it will return 0 .
func (f *finalizationVote) Length() float64 {
	if f.block == nil {
		return 0
	}
	return float64(len(f.block.Transactions))
}
func ( f * finalizationVote ) Length ( ) float64 { if f . block == nil { return 0 } return float64 ( len ( f . block . Transactions ) ) }
If the block is empty, it will return 0.
If the block is empty it will return 0 .