lightning icon indicating copy to clipboard operation
lightning copied to clipboard

6996 Fix Unable to generate P2TR address via gRPC

Open rox1338 opened this issue 1 year ago • 2 comments

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.

rox1338 avatar Mar 12 '24 10:03 rox1338

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 avatar Mar 25 '24 07:03 ErikDeSmedt

@ErikDeSmedt You are right. Would appreciate if someone who knows what he is doing fixes this.

rox1338 avatar Mar 25 '24 08:03 rox1338