Skip to content

Commit dedabb5

Browse files
committed
fix review comments
1 parent ec55c06 commit dedabb5

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

adapter/src/dummy.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,10 @@ mod deposit {
290290
Self::default()
291291
}
292292

293-
/// Get's the set deposit for the give [`ChannelId`] and [`Address`].
293+
/// Get's the set deposit for the given [`Key`].
294294
///
295-
/// This method will return [`None`] if the deposit for the pair
296-
/// [`ChannelId`] & [`Address`] was not set.
295+
/// This method will return [`None`] if the deposit for the
296+
/// [`Key`] was not set.
297297
pub fn get_deposit(
298298
&self,
299299
channel: &ChainOf<Channel>,

sentry/src/routes/routers.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,7 @@ pub async fn channels_router<C: Locked + 'static>(
237237

238238
get_accounting_for_channel(req, app).await
239239
}
240-
// POST /v5/channel/:id/dummy-deposit
241-
// will allow the calling of the method only if we are using the Dummy adapter!
240+
// POST /v5/channel/:id/pay
242241
else if let (Some(caps), &Method::POST) = (CHANNEL_PAY.captures(&path), method) {
243242
let param = RouteParams(vec![caps
244243
.get(1)

0 commit comments

Comments
 (0)