mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-07 10:47:05 +00:00
Reuse getConfidentialRecipientCount (#6281)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user