mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Consensus enhancements and eliminating deadlocks after state inclusion. (#69)
This commit is contained in:
@@ -64,6 +64,7 @@ int parse_cmd(int argc, char **argv)
|
||||
*/
|
||||
void deinit()
|
||||
{
|
||||
proc::deinit();
|
||||
hplog::deinit();
|
||||
}
|
||||
|
||||
@@ -115,7 +116,7 @@ void std_terminate() noexcept
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
//seed rand
|
||||
srand(time(0));
|
||||
srand(util::get_epoch_milliseconds());
|
||||
|
||||
// Register exception handler for std exceptions.
|
||||
std::set_terminate(&std_terminate);
|
||||
|
||||
Reference in New Issue
Block a user