Skip to content

What if the leaves has the same content? #24

@Shawn-Huang-Tron

Description

@Shawn-Huang-Tron

Hi, I have seen this two method:
https://github.com/cbergoon/merkletree/blob/master/merkle_tree.go#L115
https://github.com/cbergoon/merkletree/blob/master/merkle_tree.go#L265
What if we have same contents in two different leaves? Will it result in the wrong result?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions