Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
statemachine: never attempt to create CF txs above our paycheck
We could have happily removed hundreds of thousands of sats from the fb coins. It's much safer (and cleaner) to preemptively compute the CF tx fee to avoid trying to create one we can't afford that we'd then have to use dangerous hacks to pay for. Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
- Loading branch information
Showing
1 changed file
with
42 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters