Skip to content

Commit

Permalink
invoke submitcallback
Browse files Browse the repository at this point in the history
Signed-off-by: Haojun Zhou <[email protected]>
  • Loading branch information
Haojun Zhou committed Jul 13, 2018
1 parent e4eeb76 commit a3c5bdd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/composer/composer.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ class Composer extends BlockchainInterface {
*/
submitTransaction(connection, transaction) {
let invoke_status = new TxStatus(transaction.getIdentifier());
if(connection.engine) {
connection.engine.submitCallback(1);
}
return connection.submitTransaction(transaction)
.then((complete) => {
invoke_status.SetStatusSuccess();
Expand Down

0 comments on commit a3c5bdd

Please sign in to comment.