Construct and use PrecomputedTransactionData in PSBT signing

This commit is contained in:
Pieter Wuille committed 2021-06-12 12:25:28 -07:00
1 parent 5cb6502ac5
commit fd3f6890f3
10 files changed
+50 -21

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ BOOST_AUTO_TEST_CASE(psbt_updater_test)
// Try to sign the mutated input
SignatureData sigdata;
BOOST_CHECK(spk_man->FillPSBT(psbtx, SIGHASH_ALL, true, true) != TransactionError::OK);
BOOST_CHECK(spk_man->FillPSBT(psbtx, PrecomputePSBTData(psbtx), SIGHASH_ALL, true, true) != TransactionError::OK);
}
BOOST_AUTO_TEST_CASE(parse_hd_keypath)