fix: refund InsufficientFunds error when calculating broadcast fee (#360)

Co-authored-by: ok300 <106775972+ok300@users.noreply.github.com>
This commit is contained in:
yse
2024-07-08 17:30:17 +02:00
committed by GitHub
parent bf5828c6a6
commit 50be093230
8 changed files with 140 additions and 54 deletions

View File

@@ -2215,6 +2215,8 @@ final class wire_cst_send_payment_response extends ffi.Struct {
/// EXTRA BEGIN
typedef WireSyncRust2DartDco = ffi.Pointer<DartCObject>;
const double STANDARD_FEE_RATE_SAT_PER_VBYTE = 0.1;
const double LOWBALL_FEE_RATE_SAT_PER_VBYTE = 0.01;
const double DEFAULT_ZERO_CONF_MIN_FEE_RATE_TESTNET = 0.1;