From 661d842a5d0cc89fb09139fd4d8bb4482185999a Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Sun, 18 Aug 2024 14:58:34 +0300 Subject: [PATCH] Update RedBlackBinaryTree.sol Signed-off-by: Elias Rad <146735585+nnsW3@users.noreply.github.com> --- src/RedBlackBinaryTree.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RedBlackBinaryTree.sol b/src/RedBlackBinaryTree.sol index adf51b5..5b5afcf 100644 --- a/src/RedBlackBinaryTree.sol +++ b/src/RedBlackBinaryTree.sol @@ -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`. }