Skip to content

Commit

Permalink
Additional documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kibertoad committed Mar 9, 2019
1 parent 90f496a commit 553e67f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ export default class Transaction extends EventEmitter {
super();

const txid = (this.txid = uniqueId('trx'));

// If there is no container provided, assume user wants to get instance of transaction and use it directly
if (!container) {
this.initPromise = new Promise((resolve, reject) => {
this.initRejectFn = reject;
Expand Down

0 comments on commit 553e67f

Please sign in to comment.