Skip to content

Commit

Permalink
Update task on chain handle transaaction
Browse files Browse the repository at this point in the history
  • Loading branch information
anhnhu committed Jun 21, 2024
1 parent d98e5f1 commit 4aaf952
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3979,13 +3979,11 @@ export default class KoniExtension {
transaction: transaction,
extrinsicType: ExtrinsicType.REMARK_WITH_EVENT,
chainType: ChainType.SUBSTRATE,
resolveOnDone: true,
resolveOnDone: false,
data: {}
});

return rs;

return rs;
}

// --------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ export default class TransactionService {
resolve();
});
} else {
emitter.on('signed', (data: TransactionEventResponse) => {
emitter.on('extrinsicHash', (data: TransactionEventResponse) => {
validatedTransaction.id = data.id;
validatedTransaction.extrinsicHash = data.extrinsicHash;
resolve();
Expand Down

0 comments on commit 4aaf952

Please sign in to comment.