Skip to content

Commit

Permalink
Move bulk /block/:hash/txs behind /internal prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
mononaut committed Nov 12, 2023
1 parent bb7e1ec commit 281b699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 281b699

Please sign in to comment.