code: func GetBytesTransaction(tx *peer.Transaction) ([]byte, error) {
  	bytes, err := proto.Marshal(tx)
  	return bytes, errors.Wrap(err, "error unmarshaling Transaction")
  }
docs: // GetBytesTransaction get the bytes of Transaction from the message