mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-03 20:44:54 +01:00
8f38a46584
openingd calculates our reserve based on the channel amount (even if we're funding, to keep the calculation in one place), but it wasn't reporting it back to the master daemon. We initialized it to 0 so that valgrind wouldn't get upset, as it's part of a structure we send over the wire. Have openingd report back, and also initialize it to an impossible value as extra assurance. And remove a stray (harmless but weird) semicolon. Reported-by: Gálli Zoltán Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
Makefile | ||
opening_wire.csv | ||
opening.c |