diff --git a/src/rest.rs b/src/rest.rs index faa7dfba..6d69aa9f 100644 --- a/src/rest.rs +++ b/src/rest.rs @@ -725,7 +725,7 @@ fn handle_request( .ok_or_else(|| HttpError::not_found("Block not found".to_string()))?; json_response(txids, TTL_LONG) } - (&Method::GET, Some(&"block"), Some(hash), Some(&"txs"), None, None) => { + (&Method::GET, Some(&INTERNAL_PREFIX), Some(&"block"), Some(hash), Some(&"txs"), None) => { let hash = BlockHash::from_hex(hash)?; let txs = query .chain()