Fix accidental no-shows on node restart (#3277)
If approval was in progress we didn't actually restart it, so we end up
in a situation where we distribute our assignment, but we don't
distribute any approval.
---------
Signed-off-by:
Alexandru Gheorghe <alexandru.gheorghe@parity.io>
Showing
- polkadot/node/core/approval-voting/src/lib.rs 70 additions, 15 deletionspolkadot/node/core/approval-voting/src/lib.rs
- polkadot/node/core/approval-voting/src/persisted_entries.rs 7 additions, 0 deletionspolkadot/node/core/approval-voting/src/persisted_entries.rs
- polkadot/node/core/approval-voting/src/tests.rs 703 additions, 41 deletionspolkadot/node/core/approval-voting/src/tests.rs
Please register or sign in to comment