Return an empty pointer from getLedgerBySeq if sequence in future

This commit is contained in:
JoelKatz
2014-03-03 14:04:35 -08:00
committed by Vinnie Falco
parent 1fe57720c4
commit 93b44fcdc1

View File

@@ -1234,7 +1234,7 @@ public:
return ret;
clearLedger (index);
return ret;
return Ledger::pointer();
}
Ledger::pointer getLedgerByHash (uint256 const& hash)