Changed a use of balance_error to amount_error
This commit is contained in:
parent
aa3bade050
commit
cb9991093d
1 changed files with 1 additions and 1 deletions
|
|
@ -412,7 +412,7 @@ bool xact_base_t::verify()
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (post->amount.commodity() == post->cost->commodity())
|
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"));
|
_("A posting's cost must be of a different commodity than its amount"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue