Skip to content

Commit

Permalink
[fix] [revert] finance.bitcoinAddress
Browse files Browse the repository at this point in the history
  * Causing tests to fail
  * Not using `faker.random.number` !
  • Loading branch information
Marak committed Mar 20, 2016
1 parent ce99419 commit bb3869d
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions lib/finance.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,20 +135,6 @@ var Finance = function (faker) {
return symbol;
}

/**
* bitcoinAddress
*
* @method faker.finance.bitcoinAddress
*/
self.bitcoinAddress = function () {
var addressLength = Math.floor(Math.random() * (36 - 27 + 1)) + 27;
var address = faker.random.arrayElement(['1', '3']);

for (var i = 0; i < addressLength - 1; i++)
address += faker.random.alphaNumeric().toUpperCase();

return address;
}
}

module['exports'] = Finance;

0 comments on commit bb3869d

Please sign in to comment.