mirror of
https://github.com/Xahau/xahaud.git
synced 2026-03-11 15:12:22 +00:00
Compare commits
54 Commits
sublimator
...
catalogue
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f914365c3f | ||
|
|
7e8436cb50 | ||
|
|
0e19a4034d | ||
|
|
fa640624f0 | ||
|
|
bbdad4b2da | ||
|
|
58eb1b53f6 | ||
|
|
10b5507edd | ||
|
|
626c8c06e0 | ||
|
|
b1086d6577 | ||
|
|
f3cce20ea8 | ||
|
|
334f380262 | ||
|
|
065a94909f | ||
|
|
06a9ce4f33 | ||
|
|
af3d6bb421 | ||
|
|
24a9539095 | ||
|
|
f01364180b | ||
|
|
525dcc7e20 | ||
|
|
c5d298d6e8 | ||
|
|
63077ac753 | ||
|
|
e378ecb385 | ||
|
|
6f343f5d5e | ||
|
|
a8f411d715 | ||
|
|
5caa1cd472 | ||
|
|
c1d097f868 | ||
|
|
7c33592a26 | ||
|
|
008a0f78de | ||
|
|
78bd570016 | ||
|
|
b2d30104d4 | ||
|
|
76ffbffcd6 | ||
|
|
a6f2f9f27a | ||
|
|
ac48b5a4dd | ||
|
|
f5660c4d7d | ||
|
|
d7970346ae | ||
|
|
ea3ec6e532 | ||
|
|
589de50202 | ||
|
|
5aa15f0ddc | ||
|
|
55a94c400e | ||
|
|
90c2726cbd | ||
|
|
21d164b23b | ||
|
|
3a7e59c077 | ||
|
|
5c4b1a8ce8 | ||
|
|
6ebecd193b | ||
|
|
80cf986036 | ||
|
|
99ebfd52ac | ||
|
|
a2a764fb16 | ||
|
|
de455e52e8 | ||
|
|
84942ce125 | ||
|
|
1a8173f3df | ||
|
|
4c39910576 | ||
|
|
c2434e74a1 | ||
|
|
4327f06152 | ||
|
|
250fedf45f | ||
|
|
16b90fa826 | ||
|
|
96be5cc0b0 |
@@ -18,9 +18,7 @@
|
||||
//==============================================================================
|
||||
|
||||
#include <ripple/app/ledger/Ledger.h>
|
||||
#include <ripple/app/ledger/LedgerMaster.h>
|
||||
#include <ripple/app/ledger/LedgerToJson.h>
|
||||
#include <ripple/app/main/Application.h>
|
||||
#include <ripple/app/tx/apply.h>
|
||||
#include <ripple/basics/Log.h>
|
||||
#include <ripple/basics/Slice.h>
|
||||
@@ -551,8 +549,9 @@ doCatalogueCreate(RPC::JsonContext& context)
|
||||
UPDATE_CATALOGUE_STATUS(ledgerUpto, min_ledger);
|
||||
|
||||
// Load the first ledger
|
||||
if (auto error = RPC::getLedger(currLedger, min_ledger, context))
|
||||
return rpcError(error.toErrorCode(), error.message());
|
||||
auto status = RPC::getLedger(currLedger, min_ledger, context);
|
||||
if (status.toErrorCode() != rpcSUCCESS)
|
||||
return rpcError(status);
|
||||
if (!currLedger)
|
||||
return rpcError(rpcLEDGER_MISSING);
|
||||
|
||||
@@ -576,8 +575,9 @@ doCatalogueCreate(RPC::JsonContext& context)
|
||||
|
||||
// Load the next ledger
|
||||
currLedger = nullptr; // Release any previous current ledger
|
||||
if (auto error = RPC::getLedger(currLedger, ledger_seq, context))
|
||||
return rpcError(error.toErrorCode(), error.message());
|
||||
auto status = RPC::getLedger(currLedger, ledger_seq, context);
|
||||
if (status.toErrorCode() != rpcSUCCESS)
|
||||
return rpcError(status);
|
||||
if (!currLedger)
|
||||
return rpcError(rpcLEDGER_MISSING);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user