aboutsummaryrefslogtreecommitdiff
path: root/tests/core_tests/chaingen.cpp
diff options
context:
space:
mode:
authorkenshi84 <kenshi84@protonmail.ch>2017-10-17 08:45:00 +0900
committerkenshi84 <kenshi84@protonmail.ch>2017-10-17 22:29:01 +0900
commit88ebfd646a5e75de0544958e88d152df86e310ec (patch)
treea0600efec855b82c884a510f87c4ed8c465c613e /tests/core_tests/chaingen.cpp
parentperformance_tests: add master spend pubkey to subaddress hashtable (diff)
downloadmonero-88ebfd646a5e75de0544958e88d152df86e310ec.tar.xz
core_tests: fix for subaddress patch
Diffstat (limited to 'tests/core_tests/chaingen.cpp')
-rw-r--r--tests/core_tests/chaingen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core_tests/chaingen.cpp b/tests/core_tests/chaingen.cpp
index f23aa8ecb..2b713cab9 100644
--- a/tests/core_tests/chaingen.cpp
+++ b/tests/core_tests/chaingen.cpp
@@ -563,7 +563,7 @@ bool construct_tx_to_key(const std::vector<test_event_entry>& events, cryptonote
vector<tx_destination_entry> destinations;
fill_tx_sources_and_destinations(events, blk_head, from, to, amount, fee, nmix, sources, destinations);
- return construct_tx(from.get_keys(), sources, destinations, std::vector<uint8_t>(), tx, 0);
+ return construct_tx(from.get_keys(), sources, destinations, from.get_keys().m_account_address, std::vector<uint8_t>(), tx, 0);
}
transaction construct_tx_with_fee(std::vector<test_event_entry>& events, const block& blk_head,