diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-09-21 15:03:22 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-11-16 13:38:12 +0100 |
commit | fa54a408096244ff83a3e60e5fb7bfa6aecabe6b (patch) | |
tree | 37c481022551ec15d7b35ee124a68a0b41160796 /src/psbt.cpp | |
parent | ad09c287cb7033a28f8d0a002c1ca4f194c12f11 (diff) |
doc: Pick better named args for MutableTransactionSignatureCreator
Argument names of "nInIn" are not helpful.
Diffstat (limited to 'src/psbt.cpp')
-rw-r--r-- | src/psbt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/psbt.cpp b/src/psbt.cpp index 5445bc8aa1..b3d8e052bc 100644 --- a/src/psbt.cpp +++ b/src/psbt.cpp @@ -223,7 +223,7 @@ void UpdatePSBTOutput(const SigningProvider& provider, PartiallySignedTransactio // Construct a would-be spend of this output, to update sigdata with. // Note that ProduceSignature is used to fill in metadata (not actual signatures), // so provider does not need to provide any private keys (it can be a HidingSigningProvider). - MutableTransactionSignatureCreator creator(&tx, /* index */ 0, out.nValue, SIGHASH_ALL); + MutableTransactionSignatureCreator creator(&tx, /*input_idx=*/0, out.nValue, SIGHASH_ALL); ProduceSignature(provider, creator, out.scriptPubKey, sigdata); // Put redeem_script, witness_script, key paths, into PSBTOutput. |