Skip to content

Commit

Permalink
Fix pivot detection for removed child (ConsenSys).
Browse files Browse the repository at this point in the history
  • Loading branch information
saurik committed Nov 12, 2019
1 parent 92a1e0d commit 8c586f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dir-ethereum/directory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ contract OrchidDirectory is IOrchidDirectory {
if (!nope(other))
stakes_[name(other)].parent_ = location;

if (name(stake.left_) == key) {
if (name(stake.left_) == location) {
current.right_ = stake.right_;
current.after_ = stake.after_;
} else {
Expand Down

0 comments on commit 8c586f2

Please sign in to comment.