mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Cleanup:
* Remove is_bit_set and use regular bitwise operations instead. * Remove the function-like macro "nothing".
This commit is contained in:
@@ -597,7 +597,6 @@ Blob RippleAddress::accountPrivateEncrypt (const RippleAddress& naPublicTo, Blob
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
nothing ();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -628,7 +627,6 @@ Blob RippleAddress::accountPrivateDecrypt (const RippleAddress& naPublicFrom, Bl
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
nothing ();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -802,12 +800,10 @@ bool RippleAddress::setSeedGeneric (const std::string& strText)
|
||||
else if (setSeed (strText))
|
||||
{
|
||||
// Log::out() << "Recognized seed.";
|
||||
nothing ();
|
||||
}
|
||||
else if (1 == setSeed1751 (strText))
|
||||
{
|
||||
// Log::out() << "Recognized 1751 seed.";
|
||||
nothing ();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user