Minor cleanup.

This commit is contained in:
Arthur Britto
2013-03-13 22:28:15 -07:00
parent 91f7bab7e4
commit 38ab300310
2 changed files with 2 additions and 2 deletions

View File

@@ -1394,7 +1394,7 @@ TER LedgerEntrySet::accountSend(const uint160& uSenderID, const uint160& uReceiv
}
}
if (sleReceiver)
if (tesSUCCESS == terResult && sleReceiver)
{
sleReceiver->setFieldAmount(sfBalance, sleReceiver->getFieldAmount(sfBalance) + saAmount);
entryModify(sleReceiver);