Skip to content

Commit

Permalink
vdfs: fix broken vdf_entry::merge function
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichaelis committed Nov 7, 2022
1 parent 7332e16 commit 1957cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/vdfs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ namespace phoenix {
}

void vdf_entry::merge(const vdf_entry& itm, bool override_existing) {
auto result = this->children.find(name);
auto result = this->children.find(itm.name);
if (result == this->children.end()) {
// If no matching entry was found, this is a new one.
// Just add it to the children of this entry.
Expand Down

0 comments on commit 1957cbb

Please sign in to comment.