mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Minor cleanups:
* Make sure variables are always initialized * Use lround instead of adding .5 and casting * Remove some unneeded vars * Check for null before calling strcmp * Remove redundant if conditions * Remove make_TxQ factory function
This commit is contained in:
@@ -531,7 +531,7 @@ struct ExistingElementPool
|
||||
return STAmount{};
|
||||
return (*sle)[sfBalance];
|
||||
};
|
||||
std::uint64_t totalXRP[2];
|
||||
std::uint64_t totalXRP[2]{};
|
||||
for (auto ai1 = accounts.begin(), aie = accounts.end(); ai1 != aie;
|
||||
++ai1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user