mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-22 19:49:28 +00:00
fix stem peer service
This commit is contained in:
parent
720b7afcd1
commit
92438dc7e1
1 changed files with 2 additions and 0 deletions
|
@ -53,6 +53,8 @@ impl Stream for OutboundPeerStream {
|
|||
OutboundPeerStreamState::AwaitingPeer(fut) => {
|
||||
let res = ready!(fut.poll_unpin(cx));
|
||||
|
||||
self.state = OutboundPeerStreamState::Standby;
|
||||
|
||||
return Poll::Ready(Some(res.map(|res| {
|
||||
let PeerSetResponse::StemPeer(stem_peer) = res else {
|
||||
unreachable!()
|
||||
|
|
Loading…
Reference in a new issue