mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Avoid construcing a RippleAddress just to throw it away.
This commit is contained in:
@@ -97,7 +97,7 @@ TER Transactor::checkSig()
|
||||
{
|
||||
// Consistency: Check signature
|
||||
// Verify the transaction's signing public key is the key authorized for signing.
|
||||
if (mHasAuthKey && mSigningPubKey.getAccountID() == mTxnAccount->getFieldAccount(sfRegularKey).getAccountID())
|
||||
if (mHasAuthKey && mSigningPubKey.getAccountID() == mTxnAccount->getFieldAccount160(sfRegularKey))
|
||||
{
|
||||
// Authorized to continue.
|
||||
nothing();
|
||||
|
||||
Reference in New Issue
Block a user