We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
insert_webhook
1 parent fd7c64e commit e1381d8Copy full SHA for e1381d8
lightning-liquidity/src/lsps5/service.rs
@@ -581,16 +581,15 @@ impl PeerState {
581
self.webhooks.iter().map(|(n, _)| n).cloned().collect()
582
}
583
584
- fn insert_webhook(&mut self, name: LSPS5AppName, hook: Webhook) -> bool {
+ fn insert_webhook(&mut self, name: LSPS5AppName, hook: Webhook) {
585
for (n, h) in self.webhooks.iter_mut() {
586
if *n == name {
587
*h = hook;
588
- return true;
+ return;
589
590
591
592
self.webhooks.push((name, hook));
593
- false
594
595
596
fn remove_webhook(&mut self, name: &LSPS5AppName) -> bool {
0 commit comments