fixed generation session lags
This commit is contained in:
parent
417a037ac5
commit
dcfb8c1a10
@ -399,7 +399,7 @@ impl SessionImpl {
|
|||||||
// check state
|
// check state
|
||||||
if data.state != SessionState::WaitingForKeysDissemination {
|
if data.state != SessionState::WaitingForKeysDissemination {
|
||||||
match data.state {
|
match data.state {
|
||||||
SessionState::WaitingForInitializationComplete => return Err(Error::TooEarlyForRequest),
|
SessionState::WaitingForInitializationComplete | SessionState::WaitingForInitializationConfirm(_) => return Err(Error::TooEarlyForRequest),
|
||||||
_ => return Err(Error::InvalidStateForRequest),
|
_ => return Err(Error::InvalidStateForRequest),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user