Merge pull request #698 from h0vhannes/develop

[FIX] Fix typo in PrepareTrustline description
This commit is contained in:
Alan Cohen
2016-02-23 08:44:43 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -2924,7 +2924,7 @@ const trustline = {
}
]
};
return api.preparePayment(address, trustline).then(prepared =>
return api.prepareTrustline(address, trustline).then(prepared =>
{/* ... */});
```

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 =>
{/* ... */});
```