Include transaction message in inbound/outbound events

This commit is contained in:
wltsmrz
2013-08-21 17:19:17 -07:00
parent ccd1758284
commit c545e19e40

View File

@@ -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);
}
}
};