code: func GetLastConfigIndexFromBlockOrPanic(block *cb.Block) uint64 {
  	index, err := GetLastConfigIndexFromBlock(block)
  	if err != nil {
  		panic(err)
  	}
  	return index
  }
docs: // GetLastConfigIndexFromBlockOrPanic retrieves the index of the last config
  // block as encoded in the block metadata, or panics on error