fix: Use template for granular delegation permissions (#6613)

Co-authored-by: Bart <bthomee@users.noreply.github.com>
This commit is contained in:
yinyiqian1
2026-06-17 19:20:54 -04:00
committed by GitHub
parent 480676d0bf
commit 772ea80a25
19 changed files with 851 additions and 347 deletions

View File

@@ -217,7 +217,7 @@ STTx::getFeePayer() const
{
// If sfDelegate is present, the delegate account is the payer
// note: if a delegate is specified, its authorization to act on behalf of the account is
// enforced in `Transactor::checkPermission`
// enforced in `Transactor::invokeCheckPermission`
// cryptographic signature validity is checked separately (e.g., in `Transactor::checkSign`)
if (isFieldPresent(sfDelegate))
return getAccountID(sfDelegate);