aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/test/accounting_tests.cpp
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2017-05-09 15:46:26 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2017-05-09 15:46:26 +0900
commit5a5e4e9cc19e30186ba0a15a1cf892516d419baf (patch)
treedd937f14c45ed899f4af1d0c941705e0e10cd38a /src/wallet/test/accounting_tests.cpp
parent6a796b2b53fe542e0f340f250f4f20d69efed8d0 (diff)
downloadbitcoin-5a5e4e9cc19e30186ba0a15a1cf892516d419baf.tar.xz
[wallet] Remove CTransaction&() helper conversion operator from wallet implementation.
Diffstat (limited to 'src/wallet/test/accounting_tests.cpp')
-rw-r--r--src/wallet/test/accounting_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/test/accounting_tests.cpp b/src/wallet/test/accounting_tests.cpp
index 1fe633f2e5..0dfc42db40 100644
--- a/src/wallet/test/accounting_tests.cpp
+++ b/src/wallet/test/accounting_tests.cpp
@@ -84,7 +84,7 @@ BOOST_AUTO_TEST_CASE(acc_orderupgrade)
wtx.mapValue["comment"] = "y";
{
- CMutableTransaction tx(wtx);
+ CMutableTransaction tx(*wtx.tx);
--tx.nLockTime; // Just to change the hash :)
wtx.SetTx(MakeTransactionRef(std::move(tx)));
}
@@ -94,7 +94,7 @@ BOOST_AUTO_TEST_CASE(acc_orderupgrade)
wtx.mapValue["comment"] = "x";
{
- CMutableTransaction tx(wtx);
+ CMutableTransaction tx(*wtx.tx);
--tx.nLockTime; // Just to change the hash :)
wtx.SetTx(MakeTransactionRef(std::move(tx)));
}