diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-07-01 19:31:53 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-05-04 11:49:29 +0200 |
commit | fac6cfc50f65c610f2df9af3ec2efff5eade6661 (patch) | |
tree | a2f3f0764589e47f8305ed1c1215400fa7e8e233 /src/bitcoin-tx.cpp | |
parent | d17bbc3c484edae2552a28471d8879fca9664bcc (diff) |
refactor: Change * to & in MutableTransactionSignatureCreator
Diffstat (limited to 'src/bitcoin-tx.cpp')
-rw-r--r-- | src/bitcoin-tx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-tx.cpp b/src/bitcoin-tx.cpp index cdc5960c12..580cc5839a 100644 --- a/src/bitcoin-tx.cpp +++ b/src/bitcoin-tx.cpp @@ -667,7 +667,7 @@ static void MutateTxSign(CMutableTransaction& tx, const std::string& flagStr) SignatureData sigdata = DataFromTransaction(mergedTx, i, coin.out); // Only sign SIGHASH_SINGLE if there's a corresponding output: if (!fHashSingle || (i < mergedTx.vout.size())) - ProduceSignature(keystore, MutableTransactionSignatureCreator(&mergedTx, i, amount, nHashType), prevPubKey, sigdata); + ProduceSignature(keystore, MutableTransactionSignatureCreator(mergedTx, i, amount, nHashType), prevPubKey, sigdata); if (amount == MAX_MONEY && !sigdata.scriptWitness.IsNull()) { throw std::runtime_error(strprintf("Missing amount for CTxOut with scriptPubKey=%s", HexStr(prevPubKey))); |