-
Notifications
You must be signed in to change notification settings - Fork 19
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
id: u128, | ||
/// TODO | ||
/// An identifier to track messages received. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to expose this request id in the events? What do we expect the user to do with it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. It should not be exposed to user. Removed.
@@ -254,7 +255,12 @@ where | |||
Ok(()) | |||
} | |||
|
|||
fn send_invoice_for_order( | |||
/// Used by LSP to send invoice containing details regarding the channel fees and payment information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused: this doesn't actually send and invoice (which seems more like the LSPS2-flow anyways), but simply a CreateOrderResponse
. What am I missing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This simply sends a CreateOrderResponse
. Will rename the functions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed to send_payment_details
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally LGTM, mod one nit and the CI failing.
Added commits only related to docs. I will create a new PR for api fixes. |
/// | ||
/// `counterparty_node_id` is the node_id of the LSP you would like to use. | ||
/// | ||
/// 'channel_id' is the id used to uniquely identify the channel with counterparty node. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Wrong ticks used here:
/// 'channel_id' is the id used to uniquely identify the channel with counterparty node. | |
/// `channel_id` is the id used to uniquely identify the channel with counterparty node. |
But happy to fix this in a follow up sometime.
Closes #67.