core-rs-albatross
core-rs-albatross copied to clipboard
Sanity Check proposal sender from proposal messages
Prior to this PR a proposal message can contain an out of bounds sender. When trying to retrieve the validator to that sender the node would panic.
This PR fixes that and adds some documentation regarding panics to the relevant function in this context.
Fixes #2322.