From 5fb32c41b25f16462985326c1195ce8ab2da9145 Mon Sep 17 00:00:00 2001 From: Gustavo Cortez Date: Thu, 24 Apr 2014 15:49:37 -0300 Subject: [PATCH] Fix return --- js/models/core/Wallet.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {