Skip to content

Commit 393f20a

Browse files
authored
Merge pull request #1 from ripplefox/master
catch up
2 parents 1f9d802 + db1f3b0 commit 393f20a

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

directive/tx-payment.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
<div class="transaction">
77
<span ng-show="tx.transaction.type == 'sent'">
88
{{'you_sent' | translate}}
9-
<strong>{{tx.transaction.amount | rpamount}} {{tx.transaction.amount | rpcurrency:native.code}}</strong>
9+
<strong>{{tx.transaction.amountSent | rpamount}} {{tx.transaction.amountSent | rpcurrency:native.code}}</strong>
1010
{{'you_sent_to' | translate}}
1111
<strong>{{tx.transaction.counterparty}}</strong>
1212
</span>
1313
<span ng-show="tx.transaction.type == 'received'">
1414
<strong>{{tx.transaction.counterparty}}</strong>
1515
{{'sent_you' | translate}}
16-
<strong>{{tx.transaction.amount | rpamount}} {{tx.transaction.amount | rpcurrency:native.code}}</strong>
16+
<strong>{{tx.transaction.amountSent | rpamount}} {{tx.transaction.amountSent | rpcurrency:native.code}}</strong>
1717
</span>
1818
<span ng-show="tx.tag">{{'tx_tag' | translate}} <strong>{{tx.tag}}</strong>)</span>
1919

js/ripple/jsonrewriter.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,10 @@ var JsonRewriter = module.exports = {
158158
var amtSent;
159159

160160
if (tx.TransactionType === "Payment") {
161-
if (meta.DeliveredAmount) {
162-
return meta.DeliveredAmount;
161+
if (meta.delivered_amount) {
162+
return meta.delivered_amount;
163163
}
164+
console.warn("****************");
164165

165166
if (meta.AffectedNodes) {
166167
// Find the metadata node with entry type == "RippleState"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "FoxletRipple",
3-
"version": "2.2.0",
3+
"version": "2.3.0",
44
"description": "RippleFox Client",
55
"main": "main.js",
66
"scripts": {

0 commit comments

Comments
 (0)