Skip to content

Commit

Permalink
checkkking with put quroum 2
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandSherwin committed Dec 6, 2023
1 parent 9cb07f8 commit a8079a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sn_client/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,9 @@ impl Client {
};

let put_cfg = PutRecordCfg {
put_quorum: Quorum::All,
put_quorum: Quorum::N(
NonZeroUsize::new(2).ok_or(Error::NonZeroUsizeWasInitialisedAsZero)?,
),
re_attempt: true,
verification,
};
Expand Down

0 comments on commit a8079a8

Please sign in to comment.