diff --git a/js/models/core/Wallet.js b/js/models/core/Wallet.js index 70e01c0af..975a98314 100644 --- a/js/models/core/Wallet.js +++ b/js/models/core/Wallet.js @@ -39,7 +39,8 @@ Wallet.prototype.log = function(){ }; Wallet.getRandomId = function() { - return bitcore.SecureRandom.getPseudoRandomBuffer(8); + var r = bitcore.SecureRandom.getPseudoRandomBuffer(8).toString('hex'); + return r; }; Wallet.prototype._handlePublicKeyRing = function(senderId, data, isInbound) {