mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-29 10:54:36 +01:00
Fix recommended fees calculation (#908)
This commit is contained in:
@@ -318,7 +318,7 @@ impl BitcoinChainService for ElectrumBitcoinChainService {
|
||||
.get_client()?
|
||||
.batch_estimate_fee([1, 3, 6, 25, 1008])?
|
||||
.into_iter()
|
||||
.map(|v| v.ceil() as u64)
|
||||
.map(|v| (v * 100_000.0).ceil() as u64)
|
||||
.collect();
|
||||
Ok(RecommendedFees {
|
||||
fastest_fee: fees[0],
|
||||
|
||||
Reference in New Issue
Block a user