From 0ac7d4f9d87e7587c922e67db9864d05db3393be Mon Sep 17 00:00:00 2001 From: evoskuil Date: Wed, 26 Jun 2024 12:33:52 -0400 Subject: [PATCH] Comment. --- src/chain/transaction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chain/transaction.cpp b/src/chain/transaction.cpp index 1a1d43f2db..f188bc8648 100644 --- a/src/chain/transaction.cpp +++ b/src/chain/transaction.cpp @@ -699,7 +699,6 @@ void transaction::signature_hash_single(writer& sink, const auto write_outputs = [this, &input](writer& sink) NOEXCEPT { - // Guarded by unversioned_signature_hash. const auto index = input_index(input); sink.write_variable(add1(index)); @@ -707,6 +706,7 @@ void transaction::signature_hash_single(writer& sink, for (size_t output = 0; output < index; ++output) sink.write_bytes(null_output()); + // Guarded by unversioned_signature_hash. outputs_->at(index)->to_data(sink); };