fix build issues

This commit is contained in:
Mayukha Vadari
2026-04-03 10:08:20 -04:00
parent 97629e7477
commit 737d128cca

View File

@@ -307,12 +307,16 @@ SignerListSet::replaceSignerList()
writeSignersToSLE(signerList, flags);
// Add the signer list to the account's directory.
<< (keylet::page ? "success" : "failure");
auto const page =
ctx_.view().dirInsert(ownerDirKeylet, signerListKeylet, describeOwnerDir(accountID_));
if (!keylet::page)
JLOG(j_.trace()) << "Create signer list for account " << toBase58(accountID_) << ": "
<< (page ? "success" : "failure");
if (!page)
return tecDIR_FULL; // LCOV_EXCL_LINE
signerList->setFieldU64(sfOwnerNode, *keylet::page);
signerList->setFieldU64(sfOwnerNode, *page);
// If we succeeded, the new entry counts against the
// creator's reserve.