diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-03-04 19:03:41 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-03-04 19:03:41 +0200 |
commit | c7ace5fa3d412410312e21c55c28068dcd625fef (patch) | |
tree | fba40dea29a948b8a4904b4de189d4adc605ec6e /tests/core_tests/multisig.cpp | |
parent | Merge pull request #3245 (diff) | |
parent | Code modifications to integrate Ledger HW device into monero-wallet-cli. (diff) | |
download | monero-c7ace5fa3d412410312e21c55c28068dcd625fef.tar.xz |
Merge pull request #3303
e745c1e3 Code modifications to integrate Ledger HW device into monero-wallet-cli. (cslashm)
Diffstat (limited to 'tests/core_tests/multisig.cpp')
-rw-r--r-- | tests/core_tests/multisig.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/core_tests/multisig.cpp b/tests/core_tests/multisig.cpp index c35800e6c..936a4b742 100644 --- a/tests/core_tests/multisig.cpp +++ b/tests/core_tests/multisig.cpp @@ -34,7 +34,7 @@ #include "common/apply_permutation.h" #include "chaingen.h" #include "multisig.h" - +#include "device/device.hpp" using namespace epee; using namespace crypto; using namespace cryptonote; @@ -367,7 +367,7 @@ bool gen_multisig_tx_validation_base::generate_with(std::vector<test_event_entry for (size_t n = 0; n < tx.vout.size(); ++n) { CHECK_AND_ASSERT_MES(typeid(txout_to_key) == tx.vout[n].target.type(), false, "Unexpected tx out type"); - if (is_out_to_acc_precomp(subaddresses, boost::get<txout_to_key>(tx.vout[n].target).key, derivation, additional_derivations, n)) + if (is_out_to_acc_precomp(subaddresses, boost::get<txout_to_key>(tx.vout[n].target).key, derivation, additional_derivations, n, hw::get_device(("default")))) { ++n_outs; CHECK_AND_ASSERT_MES(tx.vout[n].amount == 0, false, "Destination amount is not zero"); |