Skip to content

Conversation

srikanth-iyengar
Copy link
Contributor

@srikanth-iyengar srikanth-iyengar commented Apr 30, 2024

  • Removed a redundant variable shadowing in builder.rs
  • Passed directly the closure itself instead of making a inline closure
  • Refactored usage of map which returns boolean to matches!

@srikanth-iyengar srikanth-iyengar marked this pull request as draft April 30, 2024 17:37
@srikanth-iyengar srikanth-iyengar changed the title Refactored necessary clippy suggestion to improve readability Refactored clippy suggestion to improve readability May 9, 2024
Copy link
Collaborator

@tnull tnull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, changes look reasonable, but this needs some formatting changes now (i.e. a run of cargo fmt).

@srikanth-iyengar
Copy link
Contributor Author

Thanks @tnull, I have done the formatting changes
Will try to fix the failing CI

@tnull
Copy link
Collaborator

tnull commented May 12, 2024

Thanks @tnull, I have done the formatting changes Will try to fix the failing CI

Ah, the failing CI is unrelated and will be fixed in an upcoming PR upgrading rust-lightning to the 0.0.123 release. I'll open it tomorrow, so fee free to hold off until then.

@srikanth-iyengar
Copy link
Contributor Author

Alright

@srikanth-iyengar srikanth-iyengar marked this pull request as ready for review May 13, 2024 12:53
@tnull
Copy link
Collaborator

tnull commented May 13, 2024

Alright

The CI failure was addressed in #291. Please rebase to make it pass.

* Removed a useless shadowing in builder.rs
* Passed directly the closure itself instead of making a inline closure
* Refactored usage of map which returns boolean to matches!
@srikanth-iyengar
Copy link
Contributor Author

The CI failure was addressed in #291. Please rebase to make it pass.

Rebased with main, all checks passed

Copy link
Collaborator

@tnull tnull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@tnull tnull merged commit e14b70e into lightningdevkit:main May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants