Merge pull request #361 from dthorpe/VanityAddress

Change Address.forKey() to Address.fromKey()
This commit is contained in:
Manuel Aráoz 2014-06-01 05:24:42 -03:00
commit 4d8af75ae9
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ var run = function() {
var a,k,m;
while (true) {
k = Key.generateSync();
a = Address.forKey(k);
a = Address.fromKey(k);
m = a.toString().match(re);
if (m) break;
}