Skip to content
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

wallet: remove obsolete peers. #1066

Merged
merged 1 commit into from
Feb 22, 2018

Conversation

rustyrussell
Copy link
Contributor

Fixes: #1029
Signed-off-by: Rusty Russell [email protected]

@ZmnSCPxj
Copy link
Collaborator

ACK bd853d5

wallet/db.c Outdated
@@ -196,6 +196,8 @@ char *dbmigrations[] = {
"DELETE FROM channels WHERE state=1",
/* Keep track of db ugprades, for debugging */
"CREATE TABLE db_upgrades (upgrade_from INTEGER, lightning_version TEXT);",
/* We didn't used to clean up peers when their channels were gone. */
Copy link
Contributor

Choose a reason for hiding this comment

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

Should it be "We didn't use to …"? :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Apparently you're right! Will fix...

@cdecker
Copy link
Member

cdecker commented Feb 22, 2018

ACK 67ca2a9

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.

4 participants