Skip to content

Commit

Permalink
feat: re-attempt when get chunk from network
Browse files Browse the repository at this point in the history
  • Loading branch information
maqi authored and joshuef committed Oct 3, 2023
1 parent 910a4fa commit d8343c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sn_client/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ impl Client {
let key = NetworkAddress::from_chunk_address(address).to_record_key();
let record = self
.network
.get_record_from_network(key, None, false)
.get_record_from_network(key, None, true)
.await?;
let header = RecordHeader::from_record(&record)?;
if let RecordKind::Chunk = header.kind {
Expand Down

0 comments on commit d8343c9

Please sign in to comment.