Browse Source

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

patch-2
dthorpe 11 years ago
parent
commit
04d6366c11
  1. 2
      examples/VanityAddress.js

2
examples/VanityAddress.js

@ -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…
Cancel
Save