Fix error code for bad fee.

This commit is contained in:
Arthur Britto
2012-12-27 01:55:17 -08:00
parent 7c04eded0f
commit 54e4fcca4f
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ TER Transactor::payFee()
}
if (saPaid.isNegative() || !saPaid.isNative())
return temBAD_AMOUNT;
return temBAD_FEE;
if (!saPaid) return tesSUCCESS;