Skip to content

Commit

Permalink
Update RedBlackBinaryTree.sol
Browse files Browse the repository at this point in the history
Signed-off-by: Elias Rad <146735585+nnsW3@users.noreply.github.com>
  • Loading branch information
nnsW3 authored Aug 18, 2024
1 parent 1fe7a80 commit 661d842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RedBlackBinaryTree.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ library RedBlackBinaryTree {
uint256 parent; // The parent node of the current node.
uint256 leftChild; // The left child of the current node.
uint256 rightChild; // The right child of the current node.
bool red; // Whether the current notde is red or black.
bool red; // Whether the current node is red or black.
address[] keys; // The keys sharing the value of the node.
mapping(address => uint256) keyMap; // Maps the keys to their index in `keys`.
}
Expand Down

0 comments on commit 661d842

Please sign in to comment.