Skip to content

Commit

Permalink
Fix prepareOrderCancellation documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Clark committed Nov 24, 2015
1 parent 27ed1aa commit 5e72089
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2864,7 +2864,7 @@ instructions | [instructions](#transaction-instructions) | *Optional* Instructio
This method returns a promise that resolves with an object with the following structure:

<aside class="notice">
All "prepare" methods have the same return type.
All "prepare*" methods have the same return type.
</aside>

Name | Type | Description
Expand Down Expand Up @@ -2912,7 +2912,7 @@ return api.prepareOrder(address, order)

## prepareOrderCancellation

`prepareOrderCancellation(address: string, sequence: number, instructions: Object): Promise<Object>`
`prepareOrderCancellation(address: string, orderCancellation: Object, instructions: Object): Promise<Object>`

Prepare an order cancellation transaction. The prepared transaction must subsequently be [signed](#sign) and [submitted](#submit).

Expand All @@ -2929,7 +2929,7 @@ instructions | [instructions](#transaction-instructions) | *Optional* Instructio
This method returns a promise that resolves with an object with the following structure:

<aside class="notice">
All "prepare" methods have the same return type.
All "prepare*" methods have the same return type.
</aside>

Name | Type | Description
Expand Down
2 changes: 1 addition & 1 deletion docs/src/prepareOrder.md.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Prepare an order transaction. The prepared transaction must subsequently be [sig
This method returns a promise that resolves with an object with the following structure:

<aside class="notice">
All "prepare" methods have the same return type.
All "prepare*" methods have the same return type.
</aside>

<%- renderSchema('output/prepare.json') %>
Expand Down
4 changes: 2 additions & 2 deletions docs/src/prepareOrderCancellation.md.ejs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## prepareOrderCancellation

`prepareOrderCancellation(address: string, sequence: number, instructions: Object): Promise<Object>`
`prepareOrderCancellation(address: string, orderCancellation: Object, instructions: Object): Promise<Object>`

Prepare an order cancellation transaction. The prepared transaction must subsequently be [signed](#sign) and [submitted](#submit).

Expand All @@ -13,7 +13,7 @@ Prepare an order cancellation transaction. The prepared transaction must subsequ
This method returns a promise that resolves with an object with the following structure:

<aside class="notice">
All "prepare" methods have the same return type.
All "prepare*" methods have the same return type.
</aside>

<%- renderSchema("output/prepare.json") %>
Expand Down

0 comments on commit 5e72089

Please sign in to comment.