mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 12:05:53 +00:00
Avoid construcing a RippleAddress just to throw it away.
This commit is contained in:
@@ -212,7 +212,7 @@ TER OfferCreateTransactor::takeOffers(
|
||||
|
||||
cLog(lsDEBUG) << "takeOffers: considering offer : " << sleOffer->getJson(0);
|
||||
|
||||
const uint160 uOfferOwnerID = sleOffer->getFieldAccount(sfAccount).getAccountID();
|
||||
const uint160 uOfferOwnerID = sleOffer->getFieldAccount160(sfAccount);
|
||||
STAmount saOfferPays = sleOffer->getFieldAmount(sfTakerGets);
|
||||
STAmount saOfferGets = sleOffer->getFieldAmount(sfTakerPays);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user