mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Basic handling for account events - as in: Don't throw an error.
This commit is contained in:
@@ -488,7 +488,12 @@ Remote.prototype._connect_message = function (ws, json) {
|
|||||||
|
|
||||||
this.emit('ledger_closed', message.ledger_hash, message.ledger_index);
|
this.emit('ledger_closed', message.ledger_hash, message.ledger_index);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
// Account subscription event
|
||||||
|
case 'account':
|
||||||
|
if (this.trace) console.log("remote: account: %s", JSON.stringify(message, undefined, 2));
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
unexpected = true;
|
unexpected = true;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user