@@ -47,7 +47,7 @@ pub const PRUNE_STALE_WEBHOOKS_INTERVAL_DAYS: Duration = Duration::from_secs(24
47
47
48
48
/// A stored webhook.
49
49
#[ derive( Debug , Clone ) ]
50
- struct StoredWebhook {
50
+ struct Webhook {
51
51
_app_name : LSPS5AppName ,
52
52
url : LSPS5WebhookUrl ,
53
53
_counterparty_node_id : PublicKey ,
@@ -117,7 +117,7 @@ where
117
117
TP :: Target : TimeProvider ,
118
118
{
119
119
config : LSPS5ServiceConfig ,
120
- webhooks : Mutex < HashMap < PublicKey , HashMap < LSPS5AppName , StoredWebhook > > > ,
120
+ webhooks : Mutex < HashMap < PublicKey , HashMap < LSPS5AppName , Webhook > > > ,
121
121
event_queue : Arc < EventQueue > ,
122
122
pending_messages : Arc < MessageQueue > ,
123
123
time_provider : TP ,
@@ -189,7 +189,7 @@ where
189
189
} else {
190
190
( now, new_hash_map ( ) )
191
191
} ;
192
- entry. insert ( StoredWebhook {
192
+ entry. insert ( Webhook {
193
193
_app_name : params. app_name . clone ( ) ,
194
194
url : params. webhook . clone ( ) ,
195
195
_counterparty_node_id : counterparty_node_id,
@@ -212,7 +212,7 @@ where
212
212
} ) ;
213
213
}
214
214
215
- entry. insert ( StoredWebhook {
215
+ entry. insert ( Webhook {
216
216
_app_name : params. app_name . clone ( ) ,
217
217
url : params. webhook . clone ( ) ,
218
218
_counterparty_node_id : counterparty_node_id,
0 commit comments