Enabled and fixed compiler warnings. (#359)

This commit is contained in:
Ravin Perera
2022-01-28 16:03:34 +05:30
committed by GitHub
parent cf695af30b
commit 5cef95c9f6
28 changed files with 132 additions and 102 deletions

View File

@@ -18,8 +18,7 @@ namespace usr
int input_nonce_map::check(const std::string &pubkey, const uint64_t &nonce, const std::string &sig, const uint64_t &max_ledger_seq_no, const bool no_add)
{
int result = 0;
const uint64_t now = util::get_epoch_milliseconds();
auto itr = nonce_map.find(pubkey);
if (itr == nonce_map.end())
{