lightning
lightning copied to clipboard
6996 Fix Unable to generate P2TR address via gRPC
See #6996 for more info on the bug.
Disclaimer: I did this change directly in github and didn't run any tests. So see this as a suggestion only. Someone with knowledge of the code needs to have a thorough look.
I think you're on the right track to diagnose this bug.
The issue is a little bit deeper though. The cln-rpc/src/model.rs-file is auto-generated by msggen.
To fix the bug we need to ensure msggen generates the correct code.
Otherwise, next time msggen is run it will override your changes.
@ErikDeSmedt You are right. Would appreciate if someone who knows what he is doing fixes this.