fix stem peer service

This commit is contained in:
Boog900 2024-11-22 19:23:44 +00:00
parent 720b7afcd1
commit 92438dc7e1
No known key found for this signature in database
GPG key ID: 42AB1287CB0041C2

View file

@ -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!()