diff options
| author | tobtoht <tob@featherwallet.org> | 2026-02-03 18:59:41 +0000 |
|---|---|---|
| committer | tobtoht <tob@featherwallet.org> | 2026-02-03 18:59:41 +0000 |
| commit | 027bbf9e2bbe786f3cd4b4ff1b2fdcafe9e9c162 (patch) | |
| tree | d253e15311a64d55b1e44501979d102fd857971e | |
| parent | 11f2237fec5c635f0e9aa65809b8d81971ef8f49 (diff) | |
| parent | d4d67c48dc8b5aba2f3421d8113c314ca7584374 (diff) | |
| download | monzero-core-027bbf9e2bbe786f3cd4b4ff1b2fdcafe9e9c162.tar.gz monzero-core-027bbf9e2bbe786f3cd4b4ff1b2fdcafe9e9c162.tar.xz monzero-core-027bbf9e2bbe786f3cd4b4ff1b2fdcafe9e9c162.zip | |
Merge pull request #10284
d4d67c4 multisig: fix kex failure in monero-gen-trusted-multisig (0xFFFC0000)
| -rw-r--r-- | src/gen_multisig/gen_multisig.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gen_multisig/gen_multisig.cpp b/src/gen_multisig/gen_multisig.cpp index eedd1511d..dfe5a70eb 100644 --- a/src/gen_multisig/gen_multisig.cpp +++ b/src/gen_multisig/gen_multisig.cpp @@ -125,11 +125,16 @@ static bool generate_multisig(uint32_t threshold, uint32_t total, const std::str wallets[0]->multisig(&ready); while (!ready) { + std::vector<std::string> kex_msgs_for_round(total); + for (size_t n = 0; n < total; ++n) { - kex_msgs_intermediate[n] = wallets[n]->exchange_multisig_keys(pwd_container->password(), kex_msgs_intermediate); + kex_msgs_for_round[n] = wallets[n]->exchange_multisig_keys(pwd_container->password(), kex_msgs_intermediate); } + // Update messages for next round + kex_msgs_intermediate = kex_msgs_for_round; + wallets[0]->multisig(&ready); } |
