Reuse getConfidentialRecipientCount (#6281)

This commit is contained in:
Shawn Xie
2026-01-26 13:04:02 -05:00
committed by GitHub
parent 1297385b7e
commit 446f9fbe6d
2 changed files with 4 additions and 2 deletions

View File

@@ -1277,7 +1277,8 @@ MPTTester::send(MPTConfidentialSend const& arg)
arg.dest->id(),
version);
auto const nRecipients = auditorAmt ? 4 : 3;
auto const nRecipients =
getConfidentialRecipientCount(auditorAmt.has_value());
std::vector<ConfidentialRecipient> recipients;
auto const senderPubKey = getPubKey(*arg.account);