chore(pool): rm unimportant print statements
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-01-22 20:33:24 +01:00
parent 4f5072d276
commit 14462e6b16
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -23,9 +23,7 @@ auto Pool::get_id() const noexcept -> unsigned int {
}
auto Pool::initialize_pool(const unsigned int& id) -> void {
fmt::print("\tpool init: {}\n", id);
set_id(id);
fmt::print("\tid set to: {}\n", this->get_id());
}
auto Pool::add_entropy(const unsigned int& source,
@ -63,15 +61,12 @@ auto Pool::add_entropy(const unsigned int& source,
fmt::print("{}\n", e.what());
throw;
}
fmt::print("\tall_ok: {}\n", all_ok);
if (all_ok) {
try {
// FIXME: check for overflow - std::string size bounding?
event_str.assign(event.begin(), event.end());
fmt::print("\tevent_str length: {}\n", event_str.length());
// FIXME: check size for overflow
// also, atm this counts event size but actually what gets appended
// are digests of 64 characters (hex-encoded 32 bytes)