diff --git a/src/rest.rs b/src/rest.rs index 367f8d90..d1ca54df 100644 --- a/src/rest.rs +++ b/src/rest.rs @@ -1019,7 +1019,7 @@ fn handle_request( json_response(tx.remove(0), ttl) } } - (&Method::POST, Some(&"txs"), None, None, None, None) => { + (&Method::POST, Some(&INTERNAL_PREFIX), Some(&"txs"), None, None, None) => { let txid_strings: Vec = serde_json::from_slice(&body).map_err(|err| HttpError::from(err.to_string()))?;