diff options
author | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2017-05-09 15:46:26 +0900 |
---|---|---|
committer | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2017-05-09 15:46:26 +0900 |
commit | 5a5e4e9cc19e30186ba0a15a1cf892516d419baf (patch) | |
tree | dd937f14c45ed899f4af1d0c941705e0e10cd38a /src/wallet/test/accounting_tests.cpp | |
parent | 6a796b2b53fe542e0f340f250f4f20d69efed8d0 (diff) | |
download | bitcoin-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.cpp | 4 |
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))); } |