mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix for issue 211, fixes to NetworkOPs getTxsAccountB
This commit is contained in:
@@ -1975,7 +1975,7 @@ NetworkOPsImp::getTxsAccountB (const RippleAddress& account, int32 minLedger, in
|
|||||||
if (!token.isMember("ledger") || !token.isMember("seq"))
|
if (!token.isMember("ledger") || !token.isMember("seq"))
|
||||||
return ret;
|
return ret;
|
||||||
findLedger = token["ledger"].asInt();
|
findLedger = token["ledger"].asInt();
|
||||||
findSeq = token["ledger"].asInt();
|
findSeq = token["seq"].asInt();
|
||||||
}
|
}
|
||||||
catch (...)
|
catch (...)
|
||||||
{
|
{
|
||||||
@@ -1983,6 +1983,8 @@ NetworkOPsImp::getTxsAccountB (const RippleAddress& account, int32 minLedger, in
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
token = Json::nullValue;
|
||||||
|
|
||||||
std::string sql = boost::str (boost::format
|
std::string sql = boost::str (boost::format
|
||||||
("SELECT AccountTransactions.LedgerSeq,AccountTransactions.TxnSeq,Status,RawTxn,TxnMeta "
|
("SELECT AccountTransactions.LedgerSeq,AccountTransactions.TxnSeq,Status,RawTxn,TxnMeta "
|
||||||
"FROM AccountTransactions INNER JOIN Transactions ON Transactions.TransID = AccountTransactions.TransID "
|
"FROM AccountTransactions INNER JOIN Transactions ON Transactions.TransID = AccountTransactions.TransID "
|
||||||
|
|||||||
Reference in New Issue
Block a user