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
|
||||
var hdPrivateKey = new HDPrivateKey();
|
||||
var hdPublicKey = privateKey.hdPublicKey;
|
||||
var hdPublicKey = hdPrivateKey.hdPublicKey;
|
||||
try {
|
||||
new HDPublicKey();
|
||||
} catch(e) {
|
||||
|
|
Loading…
Reference in New Issue