Function getRandomId: Fix creating new wallet

This commit is contained in:
Gustavo Cortez 2014-04-24 15:39:07 -03:00
commit 92f2edbf65

View file

@ -39,8 +39,7 @@ Wallet.prototype.log = function(){
};
Wallet.getRandomId = function() {
var r = buffertools.toHex(coinUtil.generateNonce());
return r;
return bitcore.SecureRandom.getPseudoRandomBuffer(8);
};
Wallet.prototype._handlePublicKeyRing = function(senderId, data, isInbound) {