JS: Add ledger_accept to remote.js

This commit is contained in:
Arthur Britto
2012-10-10 00:38:29 -07:00
parent fc73e286c4
commit 84aec67507
2 changed files with 20 additions and 6 deletions

View File

@@ -551,7 +551,7 @@ void WSConnection::doLedgerAccept(Json::Value& jvResult, const Json::Value& jvRe
}
else
{
theApp->getOPs().acceptLedger();
mNetwork.acceptLedger();
jvResult["ledger_current_index"] = mNetwork.getCurrentLedgerID();
}