mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 02:25:53 +00:00
Replace Ledger with ReadView in most RPC handlers.
This commit is contained in:
committed by
Vinnie Falco
parent
c7ebe7205c
commit
1d09c54fdc
@@ -49,7 +49,7 @@ Json::Value doGatewayBalances (RPC::Context& context)
|
||||
auto& params = context.params;
|
||||
|
||||
// Get the current ledger
|
||||
Ledger::pointer ledger;
|
||||
std::shared_ptr<ReadView const> ledger;
|
||||
auto result = RPC::lookupLedger (ledger, context);
|
||||
|
||||
if (!ledger)
|
||||
|
||||
Reference in New Issue
Block a user