countable/node-dogecoin — pull request #4 by brotchie (2014-01-31 00:48:14+00:00)
Title: Fixed bug where if result is integer and zero an object is returned.

This bug manifested when you called `getBalance` and the resulting
balance was zero. Instead of a return value of zero, you would get
the response JSON object. This is because

fn(null, data.result || data)

will ignore data.result if data.result === 0.