This PR prevents a user-facing error. It prevents optimistically unbanning a peer and instead checks the state of the peer before requesting the peers state to be unbanned.
This PR prevents a user-facing error. It prevents optimistically unbanning a peer and instead checks the state of the peer before requesting the peers state to be unbanned.