diff options
author | fanquake <fanquake@gmail.com> | 2020-01-30 15:10:35 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-01-30 15:23:53 +0800 |
commit | 44c2400bccbc6e77416e9debbeedbeed5cdc0eac (patch) | |
tree | e744b3e691c3033dee745a85e457cf751a8e197e /src/wallet/test/psbt_wallet_tests.cpp | |
parent | 2d6e76af240969aa284cd4c3d376493988e218c2 (diff) | |
parent | 1115ba693b6f6e216cd8417aa499fd018a7c016e (diff) |
Merge #18026: psbt_wallet_tests: use unique_ptr for GetSigningProvider
1115ba693b6f6e216cd8417aa499fd018a7c016e psbt_wallet_tests: use unique_ptr for GetSigningProvider (Anthony Towns)
Pull request description:
#17261 changed GetSigningProvider to return a unique_ptr, but #17156 made psbt_wallet_tests use it as well, and wasn't correspondingly updated.
ACKs for top commit:
fanquake:
ACK 1115ba693b6f6e216cd8417aa499fd018a7c016e
meshcollider:
Thanks! utACK 1115ba693b6f6e216cd8417aa499fd018a7c016e
Tree-SHA512: f0191c9b00780e6d1445fa4ec531456758b468b5bca8660474d22b1edb5f48a636a940656c9bdbe466b8bffad7af1e57e0756239906e901d60c69c3124d3bff4
Diffstat (limited to 'src/wallet/test/psbt_wallet_tests.cpp')
-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)); } |