fuseio / fuse-network

Fuse network engine; Contains instructions to connect as a node
MIT License
86 stars 44 forks source link

fix: Prevent double jailing #147

Closed gr8h closed 7 months ago

gr8h commented 11 months ago

This PR resolves a bug where a validator can be erroneously listed multiple times in the JAILED_VALIDATORS array.

Steps to Reproduce:

  1. A validator initiates a maintenance transaction.
  2. The emitInitiateChange function is subsequently called.
  3. The validator is listed twice in the JAILED_VALIDATORS list.

This PR is building upon: https://github.com/fuseio/fuse-network/pull/146/files

sweep-ai[bot] commented 11 months ago

Apply Sweep Rules to your PR?