File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -13381,6 +13381,20 @@ size_t wallet2::import_multisig(std::vector<cryptonote::blobdata> blobs)
13381
13381
loaded = true;
13382
13382
}
13383
13383
CHECK_AND_ASSERT_THROW_MES(loaded, "Failed to load output data");
13384
+
13385
+ for (const auto &e: i)
13386
+ {
13387
+ for (const auto &lr: e.m_LR)
13388
+ {
13389
+ CHECK_AND_ASSERT_THROW_MES(rct::isInMainSubgroup(lr.m_L), "Multisig value is not in the main subgroup");
13390
+ CHECK_AND_ASSERT_THROW_MES(rct::isInMainSubgroup(lr.m_R), "Multisig value is not in the main subgroup");
13391
+ }
13392
+ for (const auto &ki: e.m_partial_key_images)
13393
+ {
13394
+ CHECK_AND_ASSERT_THROW_MES(rct::isInMainSubgroup(rct::ki2rct(ki)), "Multisig partial key image is not in the main subgroup");
13395
+ }
13396
+ }
13397
+
13384
13398
MINFO(boost::format("%u outputs found") % boost::lexical_cast<std::string>(i.size()));
13385
13399
info.push_back(std::move(i));
13386
13400
}
You can’t perform that action at this time.
0 commit comments