Function getRandomId: Fix creating new wallet
This commit is contained in:
parent
486685f757
commit
92f2edbf65
1 changed files with 1 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue