code: def Relay(self, inventory):
          
          inventory = InvPayload(type=inventory.InventoryType, hashes=[inventory.Hash.ToBytes()])
          m = Message("inv", inventory)
          self.SendSerializedMessage(m)
  
          return True
docs: Wrap the inventory in a InvPayload object and send it over the write to the remote node.
  
          Args:
              inventory:
  
          Returns:
              bool: True (fixed)