Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Generator#3

Merged
rhlsthrm merged 2 commits intomasterfrom
generator
Sep 9, 2020
Merged

Generator#3
rhlsthrm merged 2 commits intomasterfrom
generator

Conversation

@LayneHaber
Copy link
Copy Markdown
Contributor

The Problem

The Solution

return keccak256(concat([first, second].sort()))
}

export class MerkleTree {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not entirely sure I see why this needs to be a class as opposed to just pure functions.

@rhlsthrm rhlsthrm merged commit b4b8f46 into master Sep 9, 2020
@rhlsthrm rhlsthrm deleted the generator branch September 9, 2020 07:15
rhlsthrm pushed a commit that referenced this pull request May 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants