mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 13:35:54 +00:00
Fix bug in regular key set transactions.
This commit is contained in:
@@ -9,7 +9,8 @@ SETUP_LOG (RegularKeySetTransactor)
|
||||
|
||||
uint64 RegularKeySetTransactor::calculateBaseFee ()
|
||||
{
|
||||
if ( ! (mTxnAccount->getFlags () & lsfPasswordSpent)
|
||||
if ( mTxnAccount
|
||||
&& (! (mTxnAccount->getFlags () & lsfPasswordSpent))
|
||||
&& (mSigningPubKey.getAccountID () == mTxnAccountID))
|
||||
{
|
||||
// flag is armed and they signed with the right account
|
||||
|
||||
Reference in New Issue
Block a user