mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Be clear about what's an account and what's a public key.
This commit is contained in:
@@ -11,7 +11,7 @@ TransactionEngineResult TransactionEngine::applyTransaction(const SerializedTran
|
||||
|
||||
// extract signing key
|
||||
CKey acctKey;
|
||||
if (!acctKey.SetPubKey(txn.getRawSigningAccount())) return terINVALID;
|
||||
if (!acctKey.SetPubKey(txn.peekSigningPubKey())) return terINVALID;
|
||||
|
||||
// check signature
|
||||
if (!txn.checkSign(acctKey)) return terINVALID;
|
||||
|
||||
Reference in New Issue
Block a user