From 184d4534f6f9633d930f288184ca5248333c8ca2 Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Wed, 23 Jun 2021 13:33:18 +0200 Subject: script, doc: spelling update --- src/script/standard.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/script') diff --git a/src/script/standard.cpp b/src/script/standard.cpp index b3dd5442fc..0fa5e56eb6 100644 --- a/src/script/standard.cpp +++ b/src/script/standard.cpp @@ -530,9 +530,9 @@ std::optional>> InferTaprootTree(const std::vector> ret; if (spenddata.merkle_root.IsNull()) return ret; - /** Data structure to represent the nodes of the tree we're going to be build. */ + /** Data structure to represent the nodes of the tree we're going to build. */ struct TreeNode { - /** Hash of this none, if known; 0 otherwise. */ + /** Hash of this node, if known; 0 otherwise. */ uint256 hash; /** The left and right subtrees (note that their order is irrelevant). */ std::unique_ptr sub[2]; @@ -547,7 +547,7 @@ std::optional>> InferTaprootTree(const bool done = false; }; - // Build tree from the provides branches. + // Build tree from the provided branches. TreeNode root; root.hash = spenddata.merkle_root; for (const auto& [key, control_blocks] : spenddata.scripts) { -- cgit v1.2.3