diff --git a/CHANGELOG.md b/CHANGELOG.md index af398db093..19597a3f65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ### Changed - perf: Mine reveal prefix relying on `sign_schnorr` internal randomness.([#3192](https://github.com/chainwayxyz/citrea/pull/3192)) - fix: use deterministic boundless patch and unpin ubuntu ci.([#3216](https://github.com/chainwayxyz/citrea/pull/3216)) +- fix(bitcoin-da): return correct error variant on mempool.space HTTP request failure. ([#3226](https://github.com/chainwayxyz/citrea/pull/3226)) ## [v2.3.1](2026-03-31) diff --git a/crates/bitcoin-da/src/fee.rs b/crates/bitcoin-da/src/fee.rs index edb35c525b..909baf6b25 100644 --- a/crates/bitcoin-da/src/fee.rs +++ b/crates/bitcoin-da/src/fee.rs @@ -231,7 +231,7 @@ pub(crate) async fn get_fee_rate_from_mempool_space(mempool_space_url: &str) -> .await .map_err(|e| { trace!("Failed to fetch from {}: {:?}", url, e); - FeeServiceError::MempoolSpaceParseError + FeeServiceError::MempoolSpaceRequestError(e) })?; let json = response.json::().await.map_err(|e| {