mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Bugfix.
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
|
||||
uint256 Ledger::getAccountRootIndex(const uint160& accountID)
|
||||
{ // Index is accountID extended to 256 bits
|
||||
return accountID.to256();
|
||||
uint256 index;
|
||||
memcpy(index.begin() + (index.size() - accountID.size()), accountID.begin(), accountID.size());
|
||||
return index;
|
||||
}
|
||||
|
||||
uint256 Ledger::getRippleIndex(const uint160& accountID, const uint160& extendTo, const uint160& currency)
|
||||
|
||||
Reference in New Issue
Block a user