mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 02:25:40 +01:00
psbt_wallet_tests: use unique_ptr for GetSigningProvider
This commit is contained in:
parent
2d6e76af24
commit
1115ba693b
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user