Skip to content

Commit ecd9bb4

Browse files
committed
add copyright. remove unused imports
1 parent d912e8f commit ecd9bb4

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

stackslib/src/net/api/tests/gethealth.rs

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
// Copyright (C) 2013-2020 Blockstack PBC, a public benefit corporation
2+
// Copyright (C) 2020-2025 Stacks Open Internet Foundation
3+
//
4+
// This program is free software: you can redistribute it and/or modify
5+
// it under the terms of the GNU General Public License as published by
6+
// the Free Software Foundation, either version 3 of the License, or
7+
// (at your option) any later version.
8+
//
9+
// This program is distributed in the hope that it will be useful,
10+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
// GNU General Public License for more details.
13+
//
14+
// You should have received a copy of the GNU General Public License
15+
// along with this program. If not, see <http://www.gnu.org/licenses/>.
116
use std::net::{IpAddr, Ipv4Addr, SocketAddr};
217

318
use clarity::types::chainstate::StacksBlockId;
@@ -11,9 +26,8 @@ use crate::net::download::nakamoto::{
1126
NakamotoDownloadStateMachine, NakamotoUnconfirmedTenureDownloader,
1227
};
1328
use crate::net::httpcore::{StacksHttp, StacksHttpRequest};
14-
use crate::net::inv::epoch2x::NodeStatus;
1529
use crate::net::test::TestEventObserver;
16-
use crate::net::{NeighborAddress, NeighborKey, ProtocolFamily};
30+
use crate::net::{NeighborAddress, ProtocolFamily};
1731

1832
#[test]
1933
fn test_try_parse_request() {

0 commit comments

Comments
 (0)