Skip to content

Commit 281b699

Browse files
committed
Move bulk /block/:hash/txs behind /internal prefix
1 parent bb7e1ec commit 281b699

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/rest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ fn handle_request(
729729
.ok_or_else(|| HttpError::not_found("Block not found".to_string()))?;
730730
json_response(txids, TTL_LONG)
731731
}
732-
(&Method::GET, Some(&"block"), Some(hash), Some(&"txs"), None, None) => {
732+
(&Method::GET, Some(&INTERNAL_PREFIX), Some(&"block"), Some(hash), Some(&"txs"), None) => {
733733
let hash = BlockHash::from_hex(hash)?;
734734
let txs = query
735735
.chain()

0 commit comments

Comments
 (0)