mirror of
https://github.com/monero-project/monero.git
synced 2025-05-05 12:45:03 -04:00
wallet: do not store signatures in the wallet cache
Saves some substantial space. Also avoid calculating tx hashes we don't need.
This commit is contained in:
parent
0263dd2d23
commit
a47ceee83b
11 changed files with 95 additions and 31 deletions
|
@ -281,7 +281,7 @@ bool transactions_flow_test(std::string& working_folder,
|
|||
w2.get_transfers(tc);
|
||||
BOOST_FOREACH(tools::wallet2::transfer_details& td, tc)
|
||||
{
|
||||
auto it = txs.find(get_transaction_hash(td.m_tx));
|
||||
auto it = txs.find(td.m_txid);
|
||||
CHECK_AND_ASSERT_MES(it != txs.end(), false, "transaction not found in local cache");
|
||||
it->second.m_received_count += 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue