Merge branch 'master' of github.com:jedmccaleb/NewCoin

This commit is contained in:
Arthur Britto
2012-11-29 16:05:48 -08:00
2 changed files with 4 additions and 7 deletions

View File

@@ -13,7 +13,7 @@ const char *TxnDBInit[] = {
FromSeq BIGINT UNSIGNED, \ FromSeq BIGINT UNSIGNED, \
LedgerSeq BIGINT UNSIGNED, \ LedgerSeq BIGINT UNSIGNED, \
Status CHARACTER(1), \ Status CHARACTER(1), \
RawTxn BLOB \ RawTxn BLOB, \
TxnMeta BLOB \ TxnMeta BLOB \
);", );",
"CREATE TABLE PubKeys ( \ "CREATE TABLE PubKeys ( \

View File

@@ -485,13 +485,10 @@ 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 // All other messages
case 'account':
if (this.trace) utils.logObject("remote: account: %s", message);
break;
default: default:
unexpected = true; if (this.trace) utils.logObject("remote: "+message.type+": %s", message);
this.emit(message.type, message);
break; break;
} }
} }