mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 12:15:51 +00:00
[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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user