mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-21 04:35:49 +00:00
JS: Forward account and transaction publishes.
This commit is contained in:
committed by
Stefan Thomas
parent
ce4c9a502a
commit
d76e85bf78
@@ -518,6 +518,18 @@ Remote.prototype._connect_message = function (ws, json) {
|
|||||||
this.emit('ledger_closed', message);
|
this.emit('ledger_closed', message);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'account':
|
||||||
|
// XXX If not trusted, need proof.
|
||||||
|
|
||||||
|
this.emit('account', message);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'transaction':
|
||||||
|
// XXX If not trusted, need proof.
|
||||||
|
|
||||||
|
this.emit('transaction', message);
|
||||||
|
break;
|
||||||
|
|
||||||
case 'serverStatus':
|
case 'serverStatus':
|
||||||
// This message is only received when online. As we are connected, it is the definative final state.
|
// This message is only received when online. As we are connected, it is the definative final state.
|
||||||
this._set_state(
|
this._set_state(
|
||||||
|
|||||||
Reference in New Issue
Block a user