Update document of return type. #75
This commit is contained in:
parent
f9fcf2c045
commit
c7905a755e
|
@ -395,7 +395,7 @@ export class MerkleTree extends Base {
|
||||||
/**
|
/**
|
||||||
* getLayers
|
* getLayers
|
||||||
* @desc Returns multi-dimensional array of all layers of Merkle Tree, including leaves and root.
|
* @desc Returns multi-dimensional array of all layers of Merkle Tree, including leaves and root.
|
||||||
* @return {Buffer[]}
|
* @return {Buffer[][]}
|
||||||
* @example
|
* @example
|
||||||
*```js
|
*```js
|
||||||
*const layers = tree.getLayers()
|
*const layers = tree.getLayers()
|
||||||
|
|
Loading…
Reference in New Issue