Changed a use of balance_error to amount_error

This commit is contained in:
John Wiegley 2009-11-14 06:12:10 -05:00
parent aa3bade050
commit cb9991093d

View file

@ -412,7 +412,7 @@ bool xact_base_t::verify()
continue;
if (post->amount.commodity() == post->cost->commodity())
throw_(balance_error,
throw_(amount_error,
_("A posting's cost must be of a different commodity than its amount"));
}