Fix recommended fees calculation (#908)

This commit is contained in:
Ross Savage
2025-05-02 21:07:02 +02:00
committed by GitHub
parent 94bd1bc31d
commit 3fc567768f

View File

@@ -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],