mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Cleanup SHAMap and simplify interfaces:
* Improve error reporting (more readable exception messages) * Reduce function complexity (split oversized function to smaller pieces) * Reduce code duplication * Reduce buffer copying
This commit is contained in:
@@ -140,7 +140,6 @@ public:
|
||||
.addRootNode(
|
||||
source.getHash(),
|
||||
makeSlice(*gotNodes_a.begin()),
|
||||
snfWIRE,
|
||||
nullptr)
|
||||
.isGood());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user