From 86ac5aade8f43f5260ffdc8f914cf3e0cb4dc08e Mon Sep 17 00:00:00 2001 From: Ross Savage Date: Fri, 3 Jan 2025 13:10:22 +0100 Subject: [PATCH] Fix dart/flutter --- .../langs/flutter/breez_sdk_liquid/include/breez_sdk_liquid.h | 2 ++ packages/dart/lib/src/frb_generated.io.dart | 2 ++ .../flutter/lib/flutter_breez_liquid_bindings_generated.dart | 2 ++ 3 files changed, 6 insertions(+) diff --git a/lib/bindings/langs/flutter/breez_sdk_liquid/include/breez_sdk_liquid.h b/lib/bindings/langs/flutter/breez_sdk_liquid/include/breez_sdk_liquid.h index 13c531e5b..5856a4772 100644 --- a/lib/bindings/langs/flutter/breez_sdk_liquid/include/breez_sdk_liquid.h +++ b/lib/bindings/langs/flutter/breez_sdk_liquid/include/breez_sdk_liquid.h @@ -20,6 +20,8 @@ typedef struct _Dart_Handle* Dart_Handle; #define LIQUID_FEE_RATE_SAT_PER_VBYTE 0.1 +#define LIQUID_FEE_RATE_MSAT_PER_VBYTE (float)(LIQUID_FEE_RATE_SAT_PER_VBYTE * 1000.0) + /** * The minimum acceptable fee rate when claiming using zero-conf */ diff --git a/packages/dart/lib/src/frb_generated.io.dart b/packages/dart/lib/src/frb_generated.io.dart index e96f74755..e98bfb8eb 100644 --- a/packages/dart/lib/src/frb_generated.io.dart +++ b/packages/dart/lib/src/frb_generated.io.dart @@ -6926,6 +6926,8 @@ const int ESTIMATED_BTC_LOCKUP_TX_VSIZE = 154; const double LIQUID_FEE_RATE_SAT_PER_VBYTE = 0.1; +const double LIQUID_FEE_RATE_MSAT_PER_VBYTE = 100.0; + const int DEFAULT_ZERO_CONF_MIN_FEE_RATE_TESTNET = 100; const int DEFAULT_ZERO_CONF_MIN_FEE_RATE_MAINNET = 10; diff --git a/packages/flutter/lib/flutter_breez_liquid_bindings_generated.dart b/packages/flutter/lib/flutter_breez_liquid_bindings_generated.dart index a13c95f3c..cb8d4ed60 100644 --- a/packages/flutter/lib/flutter_breez_liquid_bindings_generated.dart +++ b/packages/flutter/lib/flutter_breez_liquid_bindings_generated.dart @@ -5443,6 +5443,8 @@ const int ESTIMATED_BTC_LOCKUP_TX_VSIZE = 154; const double LIQUID_FEE_RATE_SAT_PER_VBYTE = 0.1; +const double LIQUID_FEE_RATE_MSAT_PER_VBYTE = 100.0; + const int DEFAULT_ZERO_CONF_MIN_FEE_RATE_TESTNET = 100; const int DEFAULT_ZERO_CONF_MIN_FEE_RATE_MAINNET = 10;