doc: fix parse error.
This commit is contained in:
parent
4e5ec39cc9
commit
958b8ead18
@ -111,7 +111,7 @@ KeyRing.fromOptions = function fromOptions(options) {
|
||||
* @private
|
||||
* @param {Buffer} key
|
||||
* @param {Boolean?} compressed
|
||||
* @param {(NetworkType|Network}) network
|
||||
* @param {(NetworkType|Network)} network
|
||||
*/
|
||||
|
||||
KeyRing.prototype.fromPrivate = function fromPrivate(key, compressed, network) {
|
||||
@ -134,7 +134,7 @@ KeyRing.prototype.fromPrivate = function fromPrivate(key, compressed, network) {
|
||||
* Instantiate keyring from a private key.
|
||||
* @param {Buffer} key
|
||||
* @param {Boolean?} compressed
|
||||
* @param {(NetworkType|Network}) network
|
||||
* @param {(NetworkType|Network)} network
|
||||
* @returns {KeyRing}
|
||||
*/
|
||||
|
||||
@ -146,7 +146,7 @@ KeyRing.fromPrivate = function fromPrivate(key, compressed, network) {
|
||||
* Inject data from public key.
|
||||
* @private
|
||||
* @param {Buffer} key
|
||||
* @param {(NetworkType|Network}) network
|
||||
* @param {(NetworkType|Network)} network
|
||||
*/
|
||||
|
||||
KeyRing.prototype.fromPublic = function fromPublic(key, network) {
|
||||
@ -190,7 +190,7 @@ KeyRing.generate = function(compressed, network) {
|
||||
/**
|
||||
* Instantiate keyring from a public key.
|
||||
* @param {Buffer} publicKey
|
||||
* @param {(NetworkType|Network}) network
|
||||
* @param {(NetworkType|Network)} network
|
||||
* @returns {KeyRing}
|
||||
*/
|
||||
|
||||
@ -202,7 +202,7 @@ KeyRing.fromPublic = function fromPublic(key, network) {
|
||||
* Inject data from public key.
|
||||
* @private
|
||||
* @param {Buffer} privateKey
|
||||
* @param {(NetworkType|Network}) network
|
||||
* @param {(NetworkType|Network)} network
|
||||
*/
|
||||
|
||||
KeyRing.prototype.fromKey = function fromKey(key, compressed, network) {
|
||||
@ -222,7 +222,7 @@ KeyRing.prototype.fromKey = function fromKey(key, compressed, network) {
|
||||
/**
|
||||
* Instantiate keyring from a public key.
|
||||
* @param {Buffer} publicKey
|
||||
* @param {(NetworkType|Network}) network
|
||||
* @param {(NetworkType|Network)} network
|
||||
* @returns {KeyRing}
|
||||
*/
|
||||
|
||||
@ -235,7 +235,7 @@ KeyRing.fromKey = function fromKey(key, compressed, network) {
|
||||
* @private
|
||||
* @param {Buffer} key
|
||||
* @param {Script} script
|
||||
* @param {(NetworkType|Network}) network
|
||||
* @param {(NetworkType|Network)} network
|
||||
*/
|
||||
|
||||
KeyRing.prototype.fromScript = function fromScript(key, script, compressed, network) {
|
||||
@ -256,7 +256,7 @@ KeyRing.prototype.fromScript = function fromScript(key, script, compressed, netw
|
||||
* Instantiate keyring from script.
|
||||
* @param {Buffer} key
|
||||
* @param {Script} script
|
||||
* @param {(NetworkType|Network}) network
|
||||
* @param {(NetworkType|Network)} network
|
||||
* @returns {KeyRing}
|
||||
*/
|
||||
|
||||
|
||||
@ -65,7 +65,7 @@ Locker.prototype.hasPending = function hasPending(key) {
|
||||
* Lock the parent object and all its methods
|
||||
* which use the locker. Begin to queue calls.
|
||||
* @param {Boolean?} force - Bypass the lock.
|
||||
* @returns {Promise->Function} Unlocker - must be
|
||||
* @returns {Promise} Returns {Function}, must be
|
||||
* called once the method finishes executing in order
|
||||
* to resolve the queue.
|
||||
*/
|
||||
|
||||
@ -51,7 +51,7 @@ WalletKey.fromOptions = function fromOptions(options) {
|
||||
* Instantiate wallet key from a private key.
|
||||
* @param {Buffer} key
|
||||
* @param {Boolean?} compressed
|
||||
* @param {(NetworkType|Network}) network
|
||||
* @param {(NetworkType|Network)} network
|
||||
* @returns {WalletKey}
|
||||
*/
|
||||
|
||||
@ -72,7 +72,7 @@ WalletKey.generate = function(compressed, network) {
|
||||
/**
|
||||
* Instantiate wallet key from a public key.
|
||||
* @param {Buffer} publicKey
|
||||
* @param {(NetworkType|Network}) network
|
||||
* @param {(NetworkType|Network)} network
|
||||
* @returns {WalletKey}
|
||||
*/
|
||||
|
||||
@ -83,7 +83,7 @@ WalletKey.fromPublic = function fromPublic(key, network) {
|
||||
/**
|
||||
* Instantiate wallet key from a public key.
|
||||
* @param {Buffer} publicKey
|
||||
* @param {(NetworkType|Network}) network
|
||||
* @param {(NetworkType|Network)} network
|
||||
* @returns {WalletKey}
|
||||
*/
|
||||
|
||||
@ -95,7 +95,7 @@ WalletKey.fromKey = function fromKey(key, compressed, network) {
|
||||
* Instantiate wallet key from script.
|
||||
* @param {Buffer} key
|
||||
* @param {Script} script
|
||||
* @param {(NetworkType|Network}) network
|
||||
* @param {(NetworkType|Network)} network
|
||||
* @returns {WalletKey}
|
||||
*/
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user