Just charge fee when unable to meet reserve.

This commit is contained in:
Arthur Britto
2012-12-23 18:43:11 -08:00
parent 6bd2839c62
commit f7ca067db3
3 changed files with 3 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ TER Transactor::payFee()
return telINSUF_FEE_P;
}
if( !saPaid ) return tesSUCCESS;
if (!saPaid) return tesSUCCESS;
// Deduct the fee, so it's not available during the transaction.
// Will only write the account back, if the transaction succeeds.