Change Address.forKey() to Address.fromKey()
This commit is contained in:
parent
bc84d1e82b
commit
04d6366c11
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue