mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-01 03:24:41 +01:00
04b6ad06cb
We were getting off-by-one for the total amount that the change is for, since it rounds the fee *down*, independent of the total weight of the entire tx. We fix this by using the diff btw the fee of the total weight (w/ and w/o the change output) |
||
---|---|---|
.. | ||
fundchannel.c | ||
fundchannel.h | ||
main.c | ||
multifundchannel.c | ||
multifundchannel.h | ||
multiwithdraw.c | ||
multiwithdraw.h | ||
openchannel.c | ||
openchannel.h |