docs: fix hierarchical.md
Closes https://github.com/bitpay/bitcore/issues/1055
This commit is contained in:
parent
6b3c448481
commit
004056c8fa
|
@ -36,7 +36,7 @@ An instance of a PublicKey that can be derived to build extended public keys. No
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
var hdPrivateKey = new HDPrivateKey();
|
var hdPrivateKey = new HDPrivateKey();
|
||||||
var hdPublicKey = privateKey.hdPublicKey;
|
var hdPublicKey = hdPrivateKey.hdPublicKey;
|
||||||
try {
|
try {
|
||||||
new HDPublicKey();
|
new HDPublicKey();
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
|
|
Loading…
Reference in New Issue