mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 23:45:51 +00:00
Merge branch 'develop' into Bronek/vault_enable
This commit is contained in:
@@ -1056,8 +1056,8 @@ AccountID
|
|||||||
pseudoAccountAddress(ReadView const& view, uint256 const& pseudoOwnerKey)
|
pseudoAccountAddress(ReadView const& view, uint256 const& pseudoOwnerKey)
|
||||||
{
|
{
|
||||||
// This number must not be changed without an amendment
|
// This number must not be changed without an amendment
|
||||||
constexpr int maxAccountAttempts = 256;
|
constexpr std::uint16_t maxAccountAttempts = 256;
|
||||||
for (auto i = 0; i < maxAccountAttempts; ++i)
|
for (std::uint16_t i = 0; i < maxAccountAttempts; ++i)
|
||||||
{
|
{
|
||||||
ripesha_hasher rsh;
|
ripesha_hasher rsh;
|
||||||
auto const hash = sha512Half(i, view.info().parentHash, pseudoOwnerKey);
|
auto const hash = sha512Half(i, view.info().parentHash, pseudoOwnerKey);
|
||||||
|
|||||||
Reference in New Issue
Block a user