mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
Fix tests (#1109)
* Revert "[docs] Update getTransactions example request/response (#1106)"
This reverts commit 5314e5e7e9.
* Redo #1106 but with passing tests
This commit is contained in:
@@ -16,11 +16,7 @@ This method returns a promise that resolves with an array of transaction object
|
||||
|
||||
```javascript
|
||||
const address = 'r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59';
|
||||
const options = {
|
||||
maxLedgerVersion: 46220792,
|
||||
minLedgerVersion: 42885331
|
||||
};
|
||||
return api.getTransactions(address, options).then(transaction => {
|
||||
return api.getTransactions(address).then(transaction => {
|
||||
/* ... */
|
||||
});
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user