[FIX] vault-test: increase entropy from randomBytes

When running vault-test.js alone, the entropy was insufficient
for the seed generator.  Entropy must be added elsewhere when
the full test suite is run.
This commit is contained in:
Matthew Fettig
2014-06-17 13:29:27 -07:00
parent dc62dbe022
commit c7dd3cc70e

View File

@@ -5,7 +5,7 @@ var VaultClient = require('../src/js/ripple/vaultclient').VaultClient;
var Blob = require('../src/js/ripple/blob').Blob;
var UInt256 = require('../src/js/ripple/uint256').UInt256;
var sjcl = require('../build/sjcl');
var random = require('crypto').randomBytes(256);
var random = require('crypto').randomBytes(512);
var nock = require('nock');
var online = process.argv.indexOf('--online-blobvault') !== -1 ? true : false;