Merge pull request #7880

573a025 core_tests: remove unused typedef, fix warning (selsta)
This commit is contained in:
luigi1111 2021-09-09 15:18:17 -04:00
commit e48e909911
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -72,7 +72,6 @@ bool test_transaction_generation_and_ring_signature()
construct_miner_tx(0, 0, 0, 0, 0, miner_acc6.get_keys().m_account_address, tx_mine_6); construct_miner_tx(0, 0, 0, 0, 0, miner_acc6.get_keys().m_account_address, tx_mine_6);
//fill inputs entry //fill inputs entry
typedef tx_source_entry::output_entry tx_output_entry;
std::vector<tx_source_entry> sources; std::vector<tx_source_entry> sources;
sources.resize(sources.size()+1); sources.resize(sources.size()+1);
tx_source_entry& src = sources.back(); tx_source_entry& src = sources.back();