Move PeerSet members to the right file

This commit is contained in:
Vinnie Falco
2013-08-02 07:28:07 -07:00
parent c83f6b29e0
commit c12d92f8ad
3 changed files with 55 additions and 54 deletions

View File

@@ -589,13 +589,13 @@ public:
LedgerIndex ledgerIndex = 1 + r.nextInt (1024 * 1024);
uint256 hash;
r.nextBlob (hash.begin (), hash.size ());
r.fillBitsRandomly (hash.begin (), hash.size ());
int const payloadBytes = 1 + r.nextInt (maxPayloadBytes);
Blob data (payloadBytes);
r.nextBlob (data.data (), payloadBytes);
r.fillBitsRandomly (data.data (), payloadBytes);
return NodeObject::createObject (type, ledgerIndex, data, hash);
}