Skip to content

Commit

Permalink
chore: fix missing clone
Browse files Browse the repository at this point in the history
  • Loading branch information
obycode committed Oct 17, 2024
1 parent 7d995db commit 334cf0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testnet/stacks-node/src/event_dispatcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ impl EventObserver {
.unwrap_or_else(|_| panic!("FATAL: failed to encode infallible data as HTTP request"));
request.add_header("Connection".into(), "close".into());
loop {
match send_http_request(host, port, request, timeout) {
match send_http_request(host, port, request.clone(), timeout) {
Ok(response) => {
if response.preamble().status_code == 200 {
debug!(
Expand Down

0 comments on commit 334cf0f

Please sign in to comment.