From 281b6994087aec6e42c40587f33ab0bc419f9bd1 Mon Sep 17 00:00:00 2001 From: Mononaut Date: Wed, 6 Sep 2023 08:26:29 +0900 Subject: [PATCH] Move bulk /block/:hash/txs behind /internal prefix --- src/rest.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest.rs b/src/rest.rs index b9e6115b..6bc8cc8f 100644 --- a/src/rest.rs +++ b/src/rest.rs @@ -729,7 +729,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()