mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix dir index creation and make currency specification optional for credit_set.
This commit is contained in:
@@ -178,7 +178,10 @@ uint256 Ledger::getDirIndex(const uint256& uBase, const LedgerEntryType letKind,
|
||||
|
||||
sNode.add64(uNodeDir);
|
||||
|
||||
std::copy(sNode.getData().end()-8, sNode.getData().end(), uResult.begin()+((256-64)/8));
|
||||
// YYY SLOPPY
|
||||
std::vector<unsigned char> vucData = sNode.getData();
|
||||
|
||||
std::copy(vucData.begin(), vucData.end(), uResult.end()-(64/8));
|
||||
|
||||
return uResult;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user