diff options
author | Anthony Towns <aj@erisian.com.au> | 2020-01-30 16:09:13 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2020-01-30 16:09:13 +1000 |
commit | 1115ba693b6f6e216cd8417aa499fd018a7c016e (patch) | |
tree | e744b3e691c3033dee745a85e457cf751a8e197e /src/wallet/test | |
parent | 2d6e76af240969aa284cd4c3d376493988e218c2 (diff) |
psbt_wallet_tests: use unique_ptr for GetSigningProvider
Diffstat (limited to 'src/wallet/test')
-rw-r--r-- | src/wallet/test/psbt_wallet_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/test/psbt_wallet_tests.cpp b/src/wallet/test/psbt_wallet_tests.cpp index 1b14f645e3..f923de6178 100644 --- a/src/wallet/test/psbt_wallet_tests.cpp +++ b/src/wallet/test/psbt_wallet_tests.cpp @@ -75,7 +75,7 @@ BOOST_AUTO_TEST_CASE(psbt_updater_test) // Try to sign the mutated input SignatureData sigdata; psbtx.inputs[0].FillSignatureData(sigdata); - const SigningProvider* provider = m_wallet.GetSigningProvider(ws1, sigdata); + const std::unique_ptr<SigningProvider> provider = m_wallet.GetSigningProvider(ws1, sigdata); BOOST_CHECK(!SignPSBTInput(*provider, psbtx, 0, SIGHASH_ALL)); } |