hoprnet / hopr-core

Main repository of HOPR - this is all you need to run a node on the HOPR network!
https://hoprnet.org
GNU General Public License v3.0
14 stars 5 forks source link

Recipient of HOPR message is unable to obtain the message on 0 hops when its HOPR balance is 0 #65

Closed 0xjjpa closed 4 years ago

0xjjpa commented 4 years ago

Describe the bug Whenever we are trying to send a 0 hops message, if the recipient of the message has zero HOPR tokens, the message is not delivered.

To Reproduce Steps to reproduce the behavior:

  1. Run HOPR chat stable version via Docker in different instances i.e. ports + directory. Let's call these accounts A and B.
  2. Load account A with Kovan ETH and HOPR tokens (via the faucet
  3. Load account B with Kovan ETH.
  4. Try using account A to send a message to account B.
  5. See message hang i.e. never delivered.

Expected behavior The message should be delivered even if the recipient has no HOPR tokens. If Account B is given HOPR tokens, the message right now is indeed delivered.

Desktop (please complete the following information):

HOPR Chat Information:

Chat Version: 1.0.0-rc
Core Version: 0.5.4-natTraversal.rc
Core Ethereum Version: 0.0.3-dev.3102b43
Utils Version: 0.1.3
Connector Version: 1.0.1-0

Bootstrap Servers: /ip4/34.65.92.146/tcp/9091/p2p/16Uiu2HAm5HEoRMUSD5fjofEEDRyxhY4hCAwmYgphdF1TPUnzHgNz