mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-30 09:05:50 +00:00
Include transaction message in inbound/outbound events
This commit is contained in:
@@ -197,9 +197,9 @@ Account.prototype.notifyTx = function (message) {
|
||||
var account = message.transaction.Account;
|
||||
} catch(exception) { }
|
||||
if (account === this._account_id) {
|
||||
this.emit('transaction-outbound');
|
||||
this.emit('transaction-outbound', message);
|
||||
} else {
|
||||
this.emit('transaction-inbound');
|
||||
this.emit('transaction-inbound', message);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user