mirror of
https://github.com/monero-project/monero.git
synced 2025-05-02 11:36:10 -04:00
Subaddresses
This commit is contained in:
parent
86e9de588c
commit
53ad5a0f42
66 changed files with 3224 additions and 868 deletions
|
@ -169,10 +169,10 @@ bool gen_uint_overflow_2::generate(std::vector<test_event_entry>& events) const
|
|||
|
||||
std::vector<cryptonote::tx_destination_entry> destinations;
|
||||
const account_public_address& bob_addr = bob_account.get_keys().m_account_address;
|
||||
destinations.push_back(tx_destination_entry(MONEY_SUPPLY, bob_addr));
|
||||
destinations.push_back(tx_destination_entry(MONEY_SUPPLY - 1, bob_addr));
|
||||
destinations.push_back(tx_destination_entry(MONEY_SUPPLY, bob_addr, false));
|
||||
destinations.push_back(tx_destination_entry(MONEY_SUPPLY - 1, bob_addr, false));
|
||||
// sources.front().amount = destinations[0].amount + destinations[2].amount + destinations[3].amount + TESTS_DEFAULT_FEE
|
||||
destinations.push_back(tx_destination_entry(sources.front().amount - MONEY_SUPPLY - MONEY_SUPPLY + 1 - TESTS_DEFAULT_FEE, bob_addr));
|
||||
destinations.push_back(tx_destination_entry(sources.front().amount - MONEY_SUPPLY - MONEY_SUPPLY + 1 - TESTS_DEFAULT_FEE, bob_addr, false));
|
||||
|
||||
cryptonote::transaction tx_1;
|
||||
if (!construct_tx(miner_account.get_keys(), sources, destinations, std::vector<uint8_t>(), tx_1, 0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue