From c7905a755e4731898345aced7e0a4dd632da7324 Mon Sep 17 00:00:00 2001 From: kth-tw <88102592+kth-tw@users.noreply.github.com> Date: Sat, 15 Apr 2023 12:06:18 +0900 Subject: [PATCH] Update document of return type. #75 --- src/MerkleTree.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MerkleTree.ts b/src/MerkleTree.ts index cd7d726..4818ad7 100644 --- a/src/MerkleTree.ts +++ b/src/MerkleTree.ts @@ -395,7 +395,7 @@ export class MerkleTree extends Base { /** * getLayers * @desc Returns multi-dimensional array of all layers of Merkle Tree, including leaves and root. - * @return {Buffer[]} + * @return {Buffer[][]} * @example *```js *const layers = tree.getLayers()