Get WS ledger_subscribe and ledger_unsubscribe working.

This commit is contained in:
Arthur Britto
2012-06-25 23:31:13 -07:00
parent 7018a1b57c
commit b56da4a73d
4 changed files with 257 additions and 25 deletions

View File

@@ -318,6 +318,8 @@ void Ledger::saveAcceptedLedger(Ledger::pointer ledger)
}
}
db->executeSQL("COMMIT TRANSACTION;");
theApp->getOPs().pubLedger(ledger);
}
Ledger::pointer Ledger::getSQL(const std::string& sql)