mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-21 22:14:20 +01:00
`check_balances` had a weird interface because it was meant to be able to be used at any 'intermediate' point to verify that a single side had a valid inputs/output balance. This was worse than useless. Now it just straight checks for both sides' balances are correct and that both sides pay their fees. Called after transaction is constructed.