ripple / ripple-lib-extensions

[Deprecated] A collection of extensions to ripple-lib. Instead, see https://github.com/XRPLF/xrpl.js
https://github.com/XRPLF/xrpl.js
22 stars 31 forks source link

DeliveredAmount is what is received, yet elsewhere the senders balance changes are summed #2

Open clark800 opened 9 years ago

clark800 commented 9 years ago

Sending $1 bitstamp, such that the recipient (Destination) gets $1, costs $1.002

https://github.com/ripple/ripple-lib-extensions/blob/8ef8c247e1d78edd1225da02ed79a31d3732d63f/src/paymentamount.js#L27

sublimator commented 9 years ago

And of course with cross currency payments, you can send currency A from the source, and the recipient will be have B delivered.