mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-17 23:31:32 +02:00
fix address and ms hex reversed
This commit is contained in:
@@ -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<string>& 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;
|
||||
|
||||
Reference in New Issue
Block a user