mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
.
This commit is contained in:
@@ -185,11 +185,11 @@ void OrderBookDB::processTxn(const SerializedTransaction& stTxn, TER terResult,T
|
||||
const STObject* previous = dynamic_cast<const STObject*>(node.peekAtPField(*field));
|
||||
if(previous)
|
||||
{
|
||||
STAmount& takerGets = previous->getFieldAmount(sfTakerGets);
|
||||
STAmount takerGets = previous->getFieldAmount(sfTakerGets);
|
||||
uint160 currencyOut=takerGets.getCurrency();
|
||||
uint160 issuerOut=takerGets.getIssuer();
|
||||
|
||||
STAmount& takerPays = previous->getFieldAmount(sfTakerPays);
|
||||
STAmount takerPays = previous->getFieldAmount(sfTakerPays);
|
||||
uint160 currencyIn=takerPays.getCurrency();
|
||||
uint160 issuerIn=takerPays.getIssuer();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user