wallet: remove mempool_sequence from transactionAddedToMempool
This commit is contained in:
1 parent
f3bc1a7282
commit
bf19069c53
5 files changed
+7
-7
No files matched your search
@@ -946,7 +946,7 @@ BOOST_FIXTURE_TEST_CASE(wallet_sync_tx_invalid_state_test, TestingSetup)
|
||||
|
||||
mtx.vin.clear();
|
||||
mtx.vin.push_back(CTxIn(tx_id_to_spend, 0));
|
||||
wallet.transactionAddedToMempool(MakeTransactionRef(mtx), 0);
|
||||
wallet.transactionAddedToMempool(MakeTransactionRef(mtx));
|
||||
const uint256& good_tx_id = mtx.GetHash();
|
||||
|
||||
{
|
||||
@@ -967,7 +967,7 @@ BOOST_FIXTURE_TEST_CASE(wallet_sync_tx_invalid_state_test, TestingSetup)
|
||||
static_cast<FailDatabase&>(wallet.GetDatabase()).m_pass = false;
|
||||
mtx.vin.clear();
|
||||
mtx.vin.push_back(CTxIn(good_tx_id, 0));
|
||||
BOOST_CHECK_EXCEPTION(wallet.transactionAddedToMempool(MakeTransactionRef(mtx), 0),
|
||||
BOOST_CHECK_EXCEPTION(wallet.transactionAddedToMempool(MakeTransactionRef(mtx)),
|
||||
std::runtime_error,
|
||||
HasReason("DB error adding transaction to wallet, write failed"));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user