From 92438dc7e11487bd1230e9bcd471745e313f977d Mon Sep 17 00:00:00 2001 From: Boog900 <54e72d8a-345f-4599-bd90-c6b9bc7d0ec5@aleeas.com> Date: Fri, 22 Nov 2024 19:23:44 +0000 Subject: [PATCH] fix stem peer service --- binaries/cuprated/src/txpool/dandelion/stem_service.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/binaries/cuprated/src/txpool/dandelion/stem_service.rs b/binaries/cuprated/src/txpool/dandelion/stem_service.rs index 2debfd4..1a288f3 100644 --- a/binaries/cuprated/src/txpool/dandelion/stem_service.rs +++ b/binaries/cuprated/src/txpool/dandelion/stem_service.rs @@ -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!()