From 3a0d718a96bb8587ccebff1ff9244a0c773e85f6 Mon Sep 17 00:00:00 2001 From: Roland Sherwin Date: Fri, 5 Jul 2024 15:04:58 +0530 Subject: [PATCH] chore: update doc based on comment --- sn_networking/src/transfers.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sn_networking/src/transfers.rs b/sn_networking/src/transfers.rs index 50feb678c8..f8566511d8 100644 --- a/sn_networking/src/transfers.rs +++ b/sn_networking/src/transfers.rs @@ -33,7 +33,9 @@ impl Network { let get_cfg = GetRecordCfg { get_quorum: Quorum::Majority, retry_strategy: None, - // This should not be set. + // This should not be set here. This function is used as a quick check to find the spends around the key during + // validation. The returned records might possibly be double spend attempt and the record will not match + // what we will have in hand. target_record: None, expected_holders: Default::default(), };