Skip to content

Commit 2c28d7f

Browse files
committed
f Just continue on persist_peer_state race
1 parent 4b82150 commit 2c28d7f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lightning-liquidity/src/lsps5/service.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,8 @@ where
205205
let mut outer_state_lock = self.per_peer_state.write().unwrap();
206206
let encoded = match outer_state_lock.get_mut(&counterparty_node_id) {
207207
None => {
208-
let err = lightning::io::Error::new(
209-
lightning::io::ErrorKind::Other,
210-
"Failed to get peer entry",
211-
);
212-
return Err(err);
208+
// We dropped the peer state by now.
209+
return Ok(());
213210
},
214211
Some(entry) => {
215212
if !entry.needs_persist {

0 commit comments

Comments
 (0)