Change Address.forKey() to Address.fromKey()

This commit is contained in:
dthorpe 2014-05-31 22:18:23 -07:00
parent bc84d1e82b
commit 04d6366c11

View File

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