Skip to content

Commit

Permalink
Remove abort call accidentally left over from debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
randombit committed Nov 7, 2023
1 parent 723fa3a commit 6117553
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/rng/rng.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ void RandomNumberGenerator::reseed_from_rng(RandomNumberGenerator& rng, size_t p
void Null_RNG::fill_bytes_with_input(std::span<uint8_t> output, std::span<const uint8_t> /* ignored */) {
// throw if caller tries to obtain random bytes
if(!output.empty()) {
abort();
throw PRNG_Unseeded("Null_RNG called");
}
}
Expand Down

0 comments on commit 6117553

Please sign in to comment.