Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is building the merkle tree working? #3

Open
rubiktubik opened this issue Feb 4, 2022 · 0 comments
Open

Is building the merkle tree working? #3

rubiktubik opened this issue Feb 4, 2022 · 0 comments

Comments

@rubiktubik
Copy link

Hi i'am trying to understand und use the merkle tree for change detection but it looks like it's not working:

const tsmp1 = new Timestamp(1643977312925, 0, "clientId")
const tsmp2 = new Timestamp(1643977311825, 0, "clientId")

const timestamps = [tsmp1,tsmp2];

const tree = merkle.build(timestamps);

tree ist empty. I'am doing something wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant