mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Cleanup.
This commit is contained in:
@@ -792,7 +792,7 @@ void RippleAddress::setSeedRandom()
|
|||||||
// XXX Maybe we should call MakeNewKey
|
// XXX Maybe we should call MakeNewKey
|
||||||
uint128 key;
|
uint128 key;
|
||||||
|
|
||||||
RAND_bytes((unsigned char *) &key, sizeof(key));
|
RAND_bytes(key.begin(), key.size());
|
||||||
|
|
||||||
RippleAddress::setSeed(key);
|
RippleAddress::setSeed(key);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user