Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
Update tests to work with ripple-lib 0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Cohen committed Jul 24, 2015
1 parent 9b6b949 commit b1e85af
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 1,634 deletions.
2 changes: 1 addition & 1 deletion api/transaction/ordercancellation.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function createOrderCancellationTransaction(account, sequence) {
validate.sequence(sequence);

var transaction = new ripple.Transaction();
transaction.offerCancel(account, sequence);
transaction.offerCancel(account, parseInt(sequence, 10));
return transaction;
}

Expand Down
3 changes: 2 additions & 1 deletion api/transaction/submit.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ function submit(tx_blob, callback) {
validate.blob(tx_blob);
var request = new Request(this.remote, 'submit');
request.message.tx_blob = tx_blob;
request.request(callback);
request.callback(callback);
request.request();
}

module.exports = submit;
Loading

0 comments on commit b1e85af

Please sign in to comment.