diff --git a/pc/pub_stats.hpp b/pc/pub_stats.hpp index 3d2bbed7f..f114ecfd8 100644 --- a/pc/pub_stats.hpp +++ b/pc/pub_stats.hpp @@ -12,7 +12,7 @@ namespace pc pub_stats(); - // number of prices submited + // number of prices submitted uint64_t get_num_sent() const; // number of observed aggregate slot updates diff --git a/program/c/src/oracle/util/prng.h b/program/c/src/oracle/util/prng.h index dd7b1dabf..1fdf078c9 100644 --- a/program/c/src/oracle/util/prng.h +++ b/program/c/src/oracle/util/prng.h @@ -307,7 +307,7 @@ static inline double prng_double_o ( prng_t * prng ) { return prng_uint64_to_dou Rejection method based. Specifically, the number of prng slots consumed is typically 1 but theoretically might be higher - occassionally (64-bit wide types consume prng slots twice as fast). + occasionally (64-bit wide types consume prng slots twice as fast). Deterministic prng slot consumption possible with a slightly more approximate implementation (bound the number of iterations such that