test, refactor: Remove unused error in wallet_tests.cpp

This has been unused since 3b98bf9c43.

Github-Pull: #35914
Rebased-From: 3175d57628
This commit is contained in:
Hennadii Stepanov
2026-08-06 12:40:27 +01:00
committed by fanquake
parent adbf812421
commit 3f32c9e60b

View File

@@ -698,7 +698,6 @@ BOOST_FIXTURE_TEST_CASE(RemoveTxs, TestChain100Setup)
CKey key = GenerateRandomKey();
AddKey(*wallet, key);
std::string error;
m_coinbase_txns.push_back(CreateAndProcessBlock({}, GetScriptForRawPubKey(coinbaseKey.GetPubKey())).vtx[0]);
auto block_tx = TestSimpleSpend(*m_coinbase_txns[0], 0, coinbaseKey, GetScriptForRawPubKey(key.GetPubKey()));
CreateAndProcessBlock({block_tx}, GetScriptForRawPubKey(coinbaseKey.GetPubKey()));