aboutsummaryrefslogtreecommitdiff
path: root/src/random.h
diff options
context:
space:
mode:
authorbrunoerg <brunoely.gc@gmail.com>2022-01-29 19:19:44 -0300
committerbrunoerg <brunoely.gc@gmail.com>2022-01-30 08:59:10 -0300
commitbad0e7f5212434a44851a4a49d104f23a623453a (patch)
treee867e5d040f765569675ef1b0d12a3b9a8a97ba4 /src/random.h
parent5b4b8f76f3ae11064d4aa3ac157558e364751fd2 (diff)
downloadbitcoin-bad0e7f5212434a44851a4a49d104f23a623453a.tar.xz
doc: Fix typos pointed out by lint-spelling
Diffstat (limited to 'src/random.h')
-rw-r--r--src/random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/random.h b/src/random.h
index 5174c553fb..97302d61ab 100644
--- a/src/random.h
+++ b/src/random.h
@@ -89,7 +89,7 @@ constexpr auto GetRandMillis = GetRandomDuration<std::chrono::milliseconds>;
* is memoryless and should be used for repeated network events (e.g. sending a
* certain type of message) to minimize leaking information to observers.
*
- * The probability of an event occuring before time x is 1 - e^-(x/a) where a
+ * The probability of an event occurring before time x is 1 - e^-(x/a) where a
* is the average interval between events.
* */
std::chrono::microseconds GetExponentialRand(std::chrono::microseconds now, std::chrono::seconds average_interval);