[FIX] Modify PrepareTrustline doc source to pass tests

This commit is contained in:
Hovhannes Kuloghlyan
2016-02-23 16:45:32 +04:00
parent cc399f1164
commit c6296a4918

View File

@@ -23,7 +23,7 @@ All "prepare*" methods have the same return type.
```javascript
const address = 'r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59';
const trustline = <%- importFile('test/fixtures/requests/prepare-trustline.json') %>;
return api.preparePayment(address, trustline).then(prepared =>
return api.prepareTrustline(address, trustline).then(prepared =>
{/* ... */});
```