mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove all IField/ITField functions. They are now obsolete.
Use the correponding STObject functions.
This commit is contained in:
@@ -10,8 +10,8 @@ OrderBook::pointer OrderBook::newOrderBook(SerializedLedgerEntry::pointer ledger
|
||||
|
||||
OrderBook::OrderBook(SerializedLedgerEntry::pointer ledgerEntry)
|
||||
{
|
||||
const STAmount saTakerGets = ledgerEntry->getIValueFieldAmount(sfTakerGets);
|
||||
const STAmount saTakerPays = ledgerEntry->getIValueFieldAmount(sfTakerPays);
|
||||
const STAmount saTakerGets = ledgerEntry->getValueFieldAmount(sfTakerGets);
|
||||
const STAmount saTakerPays = ledgerEntry->getValueFieldAmount(sfTakerPays);
|
||||
|
||||
mCurrencyIn = saTakerGets.getCurrency();
|
||||
mCurrencyOut = saTakerPays.getCurrency();
|
||||
|
||||
Reference in New Issue
Block a user