Fix bug in regular key set transactions.

This commit is contained in:
JoelKatz
2013-06-19 10:52:21 -07:00
parent 7be1709f22
commit 82dbf5794b
2 changed files with 3 additions and 3 deletions

View File

@@ -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