-
Notifications
You must be signed in to change notification settings - Fork 906
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
bad response to getutxout (bad sats amount) #3610
Comments
This is the request that causes it to crash:
|
The weirdest thing of all is that there is no packet in the capture that would contain amount |
Putting the misleading error aside, according to the comment at
|
cc @rustyrussell since you wrote this code |
Ah, ok, so |
@kirelagin you are right, |
And I'm currently testing Rusty's latest patch on testnet ;) |
Alright, so tldr:
Which works almost great, except that when you multiply |
Oh ok cool. |
Will commit his patch and push it so you can pull this branch. |
Issue and Steps to Reproduce
I have the following setup:
Bitcoin Core version v0.19.0.1-g1bc9988993ee84bc814e5a7f33cc90f670a19f6a
).The setup was performed as follows:
Output from the second (“private”) node:
The problem is that after a couple of seconds the second node crashes with:
The same happens if I try to connect in the opposite direction, that is from the second node to the first.
I also tried wiping the state of c-lightnind and bitcoind on the second server and resyncing from scratch, same result.
getinfo
outputFirst lightning node:
Second lightning node:
I am still trying to figure out what exactly is going on, any pointers would be very appreciated. For now I can’t even make sense of the error message as
0msat
sounds like a valid amount, although I am not really sure what format it expects.The text was updated successfully, but these errors were encountered: