ripple/ripple-client — pull request #1612 by mjethani (2014-10-09 03:20:51+00:00)
Title: Fix for RT-1826

Added a getAmountReceived() in JsonRewriter. It uses the DeliveredAmount field
if available, otherwise calculates the value from metadata. For normal payments
it just returns tx.Amount.