bitcoin/bitcoin — pull request #5430 by jtimon (2014-12-05 11:30:59+00:00)
Title: Small improvements related to CAmount

```if (info.amount != 0)``` is more readable than ```if (info.amount)```. Also if CAmount was a class instead of a typedef, the conditional operator cannot be overloaded.
The wallet should be using CAmount instead of int64_t.