Skip to content

Commit 44c2400

Browse files
committed
Merge #18026: psbt_wallet_tests: use unique_ptr for GetSigningProvider
1115ba6 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 1115ba6 meshcollider: Thanks! utACK 1115ba6 Tree-SHA512: f0191c9b00780e6d1445fa4ec531456758b468b5bca8660474d22b1edb5f48a636a940656c9bdbe466b8bffad7af1e57e0756239906e901d60c69c3124d3bff4
2 parents 2d6e76a + 1115ba6 commit 44c2400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/test/psbt_wallet_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ BOOST_AUTO_TEST_CASE(psbt_updater_test)
7575
// Try to sign the mutated input
7676
SignatureData sigdata;
7777
psbtx.inputs[0].FillSignatureData(sigdata);
78-
const SigningProvider* provider = m_wallet.GetSigningProvider(ws1, sigdata);
78+
const std::unique_ptr<SigningProvider> provider = m_wallet.GetSigningProvider(ws1, sigdata);
7979
BOOST_CHECK(!SignPSBTInput(*provider, psbtx, 0, SIGHASH_ALL));
8080
}
8181

0 commit comments

Comments
 (0)