BREAKING CHANGE: prepareOrderCancellation now takes orderCancellation specification instead of sequence

This commit is contained in:
Chris Clark
2015-11-23 12:45:44 -08:00
parent ef1e9e1b70
commit 7f33d8a71e
6 changed files with 21 additions and 17 deletions

View File

@@ -22,7 +22,7 @@ All "prepare" methods have the same return type.
```javascript
const address = 'r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59';
const sequence = 123;
const orderCancellation = {orderSequence: 123};
return api.prepareOrderCancellation(address, sequence)
.then(prepared => {/* ... */});
```