Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/test/psbt_wallet_tests.cpp
Show All 11 Lines | |||||
#include <univalue.h> | #include <univalue.h> | ||||
#include <boost/test/unit_test.hpp> | #include <boost/test/unit_test.hpp> | ||||
BOOST_FIXTURE_TEST_SUITE(psbt_wallet_tests, WalletTestingSetup) | BOOST_FIXTURE_TEST_SUITE(psbt_wallet_tests, WalletTestingSetup) | ||||
BOOST_AUTO_TEST_CASE(psbt_updater_test) { | BOOST_AUTO_TEST_CASE(psbt_updater_test) { | ||||
LOCK(m_wallet.cs_wallet); | |||||
// Create prevtxs and add to wallet | // Create prevtxs and add to wallet | ||||
CDataStream s_prev_tx1( | CDataStream s_prev_tx1( | ||||
ParseHex("020000000158e87a21b56daf0c23be8e7070456c336f7cbaa5c8757924f54" | ParseHex("020000000158e87a21b56daf0c23be8e7070456c336f7cbaa5c8757924f54" | ||||
"5887bb2abdd7501000000171600145f275f436b09a8cc9a2eb2a2f528485c" | "5887bb2abdd7501000000171600145f275f436b09a8cc9a2eb2a2f528485c" | ||||
"68a56323feffffff02d8231f1b0100000017a914aed962d6654f9a2b36608" | "68a56323feffffff02d8231f1b0100000017a914aed962d6654f9a2b36608" | ||||
"eb9d64d2b260db4f1118700c2eb0b0000000017a914f6539307e3a48d1e01" | "eb9d64d2b260db4f1118700c2eb0b0000000017a914f6539307e3a48d1e01" | ||||
"36d061f5d1fe19e1a240898765000000"), | "36d061f5d1fe19e1a240898765000000"), | ||||
SER_NETWORK, PROTOCOL_VERSION); | SER_NETWORK, PROTOCOL_VERSION); | ||||
▲ Show 20 Lines • Show All 189 Lines • Show Last 20 Lines |