From 46366e05a69733af083173f4aa46657c900bb3d5 Mon Sep 17 00:00:00 2001 From: woodser Date: Sun, 18 Aug 2019 14:33:23 -0400 Subject: [PATCH] fix address and ms hex reversed --- src/wallet/monero_wallet.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/wallet/monero_wallet.cpp b/src/wallet/monero_wallet.cpp index 5968732..b5f60bf 100644 --- a/src/wallet/monero_wallet.cpp +++ b/src/wallet/monero_wallet.cpp @@ -2568,13 +2568,18 @@ namespace monero { if (m_w2->multisig()) throw runtime_error("This wallet is already multisig"); if (m_w2->watch_only()) throw runtime_error("This wallet is watch-only and cannot be made multisig"); monero_multisig_init_result result; - result.m_address = m_w2->make_multisig(password, multisig_hexes, threshold); - result.m_multisig_hex = m_w2->get_account().get_public_address_str(m_w2->nettype()); + result.m_multisig_hex = m_w2->make_multisig(password, multisig_hexes, threshold); + result.m_address = m_w2->get_account().get_public_address_str(m_w2->nettype()); return result; } string monero_wallet::finalize_multisig(const vector& multisig_hexes, const string& password) { + cout << "FINALIZING" << endl; + for (string str : multisig_hexes) { + cout << "String: " << str << endl; + } + // validate state and request bool ready; uint32_t threshold, total;