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

unable to read channel… invalid magic in compressed pubkey string #531

Closed
wereHamster opened this issue Dec 28, 2017 · 3 comments
Closed

Comments

@wereHamster
Copy link
Contributor

unable to read channel for chain_hash=43497fd7f826957108f4a30fd9cec3aeba79972084e90ead01ea330900000000, node_key=02a35187c5a71676da4930d93faaf30f6d5e19e3bbe8f3ead400b898967e1dc475: unable to read channel data for chan_point=b215b9a0c2a8fbb7c3ace8ea3fc874776b55e8dc05d02388790bfef4a0d04514:0: unable to fetch chan info: invalid magic in compressed pubkey string: 163

I tried to bisect this but was unable because some commits don't compile. The best I could find out is the good one is dab7f31 and bad one is 9af7cc9. Somewhere in between the bug is introduced.

@Roasbeef
Copy link
Member

A bug wasn't introduced. A breaking database change happened.

@wereHamster
Copy link
Contributor Author

Ok. So how do I upgrade the database? Or do I have to wipe it and start fresh? Can I retain my wallet and channels or do I lose that during the upgrade?

@Roasbeef
Copy link
Member

So how do I upgrade the database? Or

As we haven't released a stable version yet, we didn't add any database migrations/updates to the commit. However, the infrastructure necessary to do so is already in place.

To upgrade, you can close out all your old channels, then send any funds to a faucet, or another wallet you have. Once you've done this, you can then wipe your old state, and upgrade.

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

No branches or pull requests

2 participants