Skip to content

Commit

Permalink
Comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Jun 26, 2024
1 parent f6b165e commit 0ac7d4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chain/transaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -699,14 +699,14 @@ 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));

for (size_t output = 0; output < index; ++output)
sink.write_bytes(null_output());

// Guarded by unversioned_signature_hash.
outputs_->at(index)->to_data(sink);
};

Expand Down

0 comments on commit 0ac7d4f

Please sign in to comment.