Skip to main content

CODE_TRIES

Constant CODE_TRIES 

Source
pub const CODE_TRIES: usize = 3;
Expand description

How many tries a code takes (Sync): the one in which it matches spends it, and so does the last of those that fail before it matches, whatever made them fail. Two pairings at once whose codes share their first two digits may each reach the other’s device first, and a person may mistype a code.