Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make do_send_money error #34

Open
shenol opened this issue Jan 2, 2019 · 1 comment
Open

make do_send_money error #34

shenol opened this issue Jan 2, 2019 · 1 comment

Comments

@shenol
Copy link

shenol commented Jan 2, 2019

[ 78%] Building CXX object tests/functional_tests/CMakeFiles/functional_tests.dir/transactions_flow_test.cpp.o
/home/miner/haven/tests/functional_tests/transactions_flow_test.cpp: In function ‘bool do_send_money(tools::wallet2&, tools::wallet2&, size_t, uint64_t, cryptonote::transaction&, size_t)’:
/home/miner/haven/tests/functional_tests/transactions_flow_test.cpp:88:92: error: no matching function for call to ‘tools::wallet2::create_transactions_2(std::vectorcryptonote::tx_destination_entry&, size_t&, int, int, std::vector, int, )’
ptx = w1.create_transactions_2(dsts, mix_in_factor, 0, 0, std::vector<uint8_t>(), 0, {});
^
In file included from /home/miner/haven/tests/functional_tests/transactions_flow_test.cpp:37:0:
/home/miner/haven/src/wallet/wallet2.h:658:38: note: candidate: std::vectortools::wallet2::pending_tx tools::wallet2::create_transactions_2(std::vectorcryptonote::tx_destination_entry, size_t, uint64_t, uint32_t, const std::vector&, uint32_t, std::set, bool)
std::vectorwallet2::pending_tx create_transactions_2(std::vectorcryptonote::tx_destination_entry dsts, const size_t fake_outs_count, const uint64_t unlock_time, uint32_t priority, const std::vector<uint8_t>& extra, uint32_t subaddr_account, std::set<uint32_t> subaddr_indices, bool trusted_daemon); // pass subaddr_indices by value on purpose

@shenol shenol changed the title make error make do_send_money error Jan 2, 2019
@nbourbaki909
Copy link

You must be trying to compile from a cloned copy. Download the 3.1.0 from releases and unpack the repo. Compiles perfectly. The cloned version has some older files that won't compile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants