From 893ce99a4a98aab8836852bb59cd582afe489193 Mon Sep 17 00:00:00 2001 From: Miguel Mota Date: Tue, 24 May 2022 09:59:06 -0700 Subject: [PATCH] Add disclaimer comment --- .gitignore | 1 + src/MerkleTree.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 73c1fe5..924f152 100755 --- a/.gitignore +++ b/.gitignore @@ -115,3 +115,4 @@ dist ##################### package-lock.json merkletree.js +notes.txt diff --git a/src/MerkleTree.ts b/src/MerkleTree.ts index e52820e..ca27871 100644 --- a/src/MerkleTree.ts +++ b/src/MerkleTree.ts @@ -4,6 +4,7 @@ import Base from './Base' import treeify from 'treeify' // TODO: Clean up and DRY up code +// Disclaimer: The multiproof code is unaudited and may possibly contain serious issues. It's in a hacky state as is and it's begging for a rewrite! type TValue = Buffer | string | number | null | undefined type THashFnResult = Buffer | string