zenon-network / syrius

MIT License
17 stars 14 forks source link

Auto-receiver creates two identical notification errors #92

Closed KingGorrin closed 3 months ago

KingGorrin commented 3 months ago

Describe the bug The auto-receiver creates two identical notifications when it fails to receive a tx.

To Reproduce

  1. Connect to a node and set the correct chain id
  2. Disable the auto-receiver
  3. Send a tx to a derived address
  4. Set the chain id incorrectly (creating a chain id mismatch)
  5. Enable the auto-receiver

Expected behavior The auto-receiver should create one notification for each failed transaction.

Actual behavior The auto-receiver creates two identical notifications for each failed transaction.

Screenshots syrius-duplicate-notification-errors

Desktop (please complete the following information):

Additional context This bug could be related to this issue were sometimes no error notifications are shown.