-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix and improvement on marina events (#378)
* adds accountID to console.debug * Bug fixes: - fix bug where only the main account was emitting events on NEW_TX, NEW_UTXO and SPENT_UTXO Breaking changes (marina events): - marina.on('NEW_TX', (tx) => {}) is now marina.on('NEW_TX', ({ tx, accountID }) => {}) - marina.on('NEW_UTXO', (utxo) => {}) is now marina.on('NEW_UTXO', ({ utxo, accountID }) => {}) - marina.on('SPENT_UTXO', (utxo) => {}) is now marina.on('SPENT_UTXO', ({ utxo, accountID }) => {}) * prettier * make all events return the same MarinaEvent type
- Loading branch information
Showing
4 changed files
with
68 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters