|
|
|
@ -397,17 +397,17 @@ bool gen_tx_key_offest_points_to_foreign_key::generate(std::vector<test_event_en
|
|
|
|
|
REWIND_BLOCKS(events, blk_1r, blk_1, miner_account);
|
|
|
|
|
MAKE_ACCOUNT(events, alice_account);
|
|
|
|
|
MAKE_ACCOUNT(events, bob_account);
|
|
|
|
|
MAKE_TX_LIST_START(events, txs_0, miner_account, bob_account, MK_COINS(60) + 1, blk_1);
|
|
|
|
|
MAKE_TX_LIST(events, txs_0, miner_account, alice_account, MK_COINS(60) + 1, blk_1);
|
|
|
|
|
MAKE_TX_LIST_START(events, txs_0, miner_account, bob_account, MK_COINS(15) + 1, blk_1);
|
|
|
|
|
MAKE_TX_LIST(events, txs_0, miner_account, alice_account, MK_COINS(15) + 1, blk_1);
|
|
|
|
|
MAKE_NEXT_BLOCK_TX_LIST(events, blk_2, blk_1r, miner_account, txs_0);
|
|
|
|
|
|
|
|
|
|
std::vector<tx_source_entry> sources_bob;
|
|
|
|
|
std::vector<tx_destination_entry> destinations_bob;
|
|
|
|
|
fill_tx_sources_and_destinations(events, blk_2, bob_account, miner_account, MK_COINS(60) + 1 - TESTS_DEFAULT_FEE, TESTS_DEFAULT_FEE, 0, sources_bob, destinations_bob);
|
|
|
|
|
fill_tx_sources_and_destinations(events, blk_2, bob_account, miner_account, MK_COINS(15) + 1 - TESTS_DEFAULT_FEE, TESTS_DEFAULT_FEE, 0, sources_bob, destinations_bob);
|
|
|
|
|
|
|
|
|
|
std::vector<tx_source_entry> sources_alice;
|
|
|
|
|
std::vector<tx_destination_entry> destinations_alice;
|
|
|
|
|
fill_tx_sources_and_destinations(events, blk_2, alice_account, miner_account, MK_COINS(60) + 1 - TESTS_DEFAULT_FEE, TESTS_DEFAULT_FEE, 0, sources_alice, destinations_alice);
|
|
|
|
|
fill_tx_sources_and_destinations(events, blk_2, alice_account, miner_account, MK_COINS(15) + 1 - TESTS_DEFAULT_FEE, TESTS_DEFAULT_FEE, 0, sources_alice, destinations_alice);
|
|
|
|
|
|
|
|
|
|
tx_builder builder;
|
|
|
|
|
builder.step1_init();
|
|
|
|
|