Skip to content

Commit e8669f8

Browse files
fix(xrpl/queries): add DestinationAmount on RipplePathFind tests
1 parent 4497b45 commit e8669f8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

xrpl/queries/path/v1/ripple_path_find_test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ func TestRipplePathFindResponse(t *testing.T) {
111111
},
112112
},
113113
DestinationAccount: "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
114+
DestinationAmount: types.IssuedCurrencyAmount{
115+
Issuer: "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
116+
Currency: "USD",
117+
Value: "0.001",
118+
},
114119
DestinationCurrencies: []string{
115120
"015841551A748AD2C1F76FF6ECB0CCCD00000000",
116121
"JOE",
@@ -195,6 +200,11 @@ func TestRipplePathFindResponse(t *testing.T) {
195200
"USD",
196201
"XRP"
197202
],
203+
"destination_amount": {
204+
"issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
205+
"currency": "USD",
206+
"value": "0.001"
207+
},
198208
"source_account": "",
199209
"validated": false
200210
}`

0 commit comments

Comments
 (0)