mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-19 23:14:22 +01:00
Allow custom pay_onchain claim fees (#391)
* Allow optional fee rate for pay onchain BTC claim * Add recommended_fees method * Fix example Config * Address review comments
This commit is contained in:
@@ -18,6 +18,7 @@ extension ConfigCopyWith on Config {
|
||||
Config copyWith({
|
||||
String? liquidElectrumUrl,
|
||||
String? bitcoinElectrumUrl,
|
||||
String? mempoolspaceUrl,
|
||||
String? workingDir,
|
||||
LiquidNetwork? network,
|
||||
BigInt? paymentTimeoutSec,
|
||||
@@ -26,6 +27,7 @@ extension ConfigCopyWith on Config {
|
||||
return Config(
|
||||
liquidElectrumUrl: liquidElectrumUrl ?? this.liquidElectrumUrl,
|
||||
bitcoinElectrumUrl: bitcoinElectrumUrl ?? this.bitcoinElectrumUrl,
|
||||
mempoolspaceUrl: mempoolspaceUrl ?? this.mempoolspaceUrl,
|
||||
workingDir: workingDir ?? this.workingDir,
|
||||
network: network ?? this.network,
|
||||
paymentTimeoutSec: paymentTimeoutSec ?? this.paymentTimeoutSec,
|
||||
|
||||
Reference in New Issue
Block a user