Skip to content

Commit bee3c3c

Browse files
wvanlintsaidalaoui-sq
authored andcommitted
Error on unknown SCID
1 parent 78c37f4 commit bee3c3c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lightning-liquidity/src/lsps2/service.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,6 +1069,10 @@ where
10691069
});
10701070
},
10711071
}
1072+
} else {
1073+
return Err(APIError::APIMisuseError {
1074+
err: format!("Unknown scid provided: {}", intercept_scid),
1075+
});
10721076
}
10731077

10741078
if let Some(counterparty_node_id) = should_persist {

0 commit comments

Comments
 (0)