diff --git a/src/TransactionEngine.cpp b/src/TransactionEngine.cpp index ebb97d517d..74d5467ea5 100644 --- a/src/TransactionEngine.cpp +++ b/src/TransactionEngine.cpp @@ -3955,9 +3955,7 @@ TER TransactionEngine::takeOffers( const uint256 uBookEnd = Ledger::getQualityNext(uBookBase); const uint64 uTakeQuality = STAmount::getRate(saTakerGets, saTakerPays); const uint160 uTakerPaysAccountID = saTakerPays.getIssuer(); - const uint160 uTakerPaysCurrency = saTakerPays.getCurrency(); const uint160 uTakerGetsAccountID = saTakerGets.getIssuer(); - const uint160 uTakerGetsCurrency = saTakerGets.getCurrency(); TER terResult = temUNCERTAIN; boost::unordered_set usOfferUnfundedFound; // Offers found unfunded.