aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/test/psbt_wallet_tests.cpp
diff options
context:
space:
mode:
authorGlenn Willen <gwillen@nerdnet.org>2018-10-26 15:24:55 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2018-12-03 10:34:57 -0800
commita9eab081d5a31cec3138685fef21e428f833db03 (patch)
treeb21f22ed0b6b68752a968f7569c824f6654b6844 /src/wallet/test/psbt_wallet_tests.cpp
parentcfdd6b2f6c01c5c8dbe4691cc84c65b9705784c3 (diff)
downloadbitcoin-a9eab081d5a31cec3138685fef21e428f833db03.tar.xz
Remove redundant txConst parameter to FillPSBT
Github-Pull: #14588 Rebased-From: 4f3f5cb4b142f0fcb36241fa33b52a257901dbee
Diffstat (limited to 'src/wallet/test/psbt_wallet_tests.cpp')
-rw-r--r--src/wallet/test/psbt_wallet_tests.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/wallet/test/psbt_wallet_tests.cpp b/src/wallet/test/psbt_wallet_tests.cpp
index 61c3fa94a6..94b5f2f374 100644
--- a/src/wallet/test/psbt_wallet_tests.cpp
+++ b/src/wallet/test/psbt_wallet_tests.cpp
@@ -59,12 +59,8 @@ BOOST_AUTO_TEST_CASE(psbt_updater_test)
CDataStream ssData(ParseHex("70736274ff01009a020000000258e87a21b56daf0c23be8e7070456c336f7cbaa5c8757924f545887bb2abdd750000000000ffffffff838d0427d0ec650a68aa46bb0b098aea4422c071b2ca78352a077959d07cea1d0100000000ffffffff0270aaf00800000000160014d85c2b71d0060b09c9886aeb815e50991dda124d00e1f5050000000016001400aea9a2e5f0f876a588df5546e8742d1d87008f000000000000000000"), SER_NETWORK, PROTOCOL_VERSION);
ssData >> psbtx;
- // Use CTransaction for the constant parts of the
- // transaction to avoid rehashing.
- const CTransaction txConst(*psbtx.tx);
-
// Fill transaction with our data
- FillPSBT(&m_wallet, psbtx, &txConst, 1, false, true);
+ FillPSBT(&m_wallet, psbtx, 1, false, true);
// Get the final tx
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);