Skip to content

Commit 68547c7

Browse files
committed
do not close ws from batcher side
1 parent f90b976 commit 68547c7

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

crates/batcher/src/lib.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -688,16 +688,6 @@ impl Batcher {
688688
SubmitProofResponseMessage::UserFundsUnlocked,
689689
)
690690
.await;
691-
// Close websocket connection
692-
let mut sink_guard = ws_sink_clone.write().await;
693-
if let Err(e) = sink_guard.close().await {
694-
warn!(
695-
"Error closing websocket for user {:?}: {:?}",
696-
user_address, e
697-
);
698-
} else {
699-
info!("Closed websocket connection for user {:?}", user_address);
700-
}
701691
});
702692
}
703693
info!(

0 commit comments

Comments
 (0)