-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade lnd and Cancelable payment flag #193
Upgrade lnd and Cancelable payment flag #193
Conversation
b833d27
to
29c2c23
Compare
29c2c23
to
dbc452d
Compare
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.
Looks good. I changed the base to add this to the lnd-18-0
branch, which caused conflicts.
router_client.go
Outdated
@@ -284,6 +284,13 @@ type SendPaymentRequest struct { | |||
|
|||
// AMP is set to true if the payment should be an AMP payment. | |||
AMP bool | |||
|
|||
// If set, the payment loop can be interrupted by manually canceling |
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: Godoc comments should start with the field name. Also, there are double spaces at the start of the comment.
dbc452d
to
50c5387
Compare
I think you need to revert the changes to |
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.
LGTM, pending Oliver's comments 🎉
61c553e
to
0956c7a
Compare
This commit also updates the go version from 1.19 to 1.23
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.
LGTM 🎉
router_client.go
Outdated
@@ -284,6 +284,13 @@ type SendPaymentRequest struct { | |||
|
|||
// AMP is set to true if the payment should be an AMP payment. | |||
AMP bool | |||
|
|||
// Cancelable controls if the payment can be interrupted manually by |
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: double spaces still there...
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.
fixed.
0956c7a
to
60ce43d
Compare
This PR upgrades to lnd to
v0.18.3-beta
and then addsCancelable
to theSendPaymentRequest
.