mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
more fixes
This commit is contained in:
@@ -634,7 +634,7 @@ STObject::getAccountID(SField const& field) const
|
||||
}
|
||||
|
||||
AccountID
|
||||
STObject::getFeePayer() const
|
||||
STObject::getInitiator() 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
|
||||
|
||||
@@ -440,7 +440,7 @@ Batch::preflightSigValidated(PreflightContext const& ctx)
|
||||
{
|
||||
// A delegated inner is signed by the delegate, not the account holder,
|
||||
// so the delegate is the required signer when present.
|
||||
AccountID const authorizer = rb.getFeePayer();
|
||||
AccountID const authorizer = rb.getInitiator();
|
||||
|
||||
// The outer account signs the batch itself, so it is never added to the
|
||||
// required signers.
|
||||
|
||||
Reference in New Issue
Block a user