Skip to content

Commit 3ab50c4

Browse files
authored
Merge pull request #131 from WithAutonomi/feat/file-download-peer-diagnostics
feat(file): add download peer diagnostics
2 parents c91224a + 8f2396f commit 3ab50c4

4 files changed

Lines changed: 773 additions & 138 deletions

File tree

ant-cli/src/commands/data/chunk.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ fn peer_get_status(result: &ChunkPeerGetResult, summary: &mut PeerGetSummary) ->
243243
summary.record(&result.chunk_result)
244244
}
245245

246-
fn xor_distance_decimal(distance: &[u8; XORNAME_BYTE_LEN]) -> String {
246+
pub(super) fn xor_distance_decimal(distance: &[u8; XORNAME_BYTE_LEN]) -> String {
247247
let mut digits = vec![0u8];
248248

249249
for byte in distance {

0 commit comments

Comments
 (0)