code: func TrytesToPendingTransfer(trytes []Trytes) PendingTransfer {
  	essences := make([]Trytes, len(trytes))
  	for i := 0; i < len(trytes); i++ {
  		// if the transaction has a non empty signature message fragment, we store it in the store
  		storeSigMsgFrag := !guards.IsEmptyTrytes(trytes[i][:consts.AddressTrinaryOffset/3])
  		if storeSigMsgFrag {
  			essences[i] = trytes[i][:consts.BundleTrinaryOffset/3]
  		} else {
  			essences[i] = trytes[i][consts.AddressTrinaryOffset/3 : consts.BundleTrinaryOffset/3]
  		}
  	}
  	return PendingTransfer{Bundle: essences, Tails: Hashes{}}
  }
docs: // TrytesToPendingTransfer converts the given trytes to its essence trits.