From 09c245786db81c1bdb9df036f1bf42192029265c Mon Sep 17 00:00:00 2001 From: CJ Cobb <46455409+cjcobb23@users.noreply.github.com> Date: Wed, 20 Apr 2022 10:58:01 -0400 Subject: [PATCH] fix offer dir iteration bug (#141) --- src/backend/BackendInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/BackendInterface.cpp b/src/backend/BackendInterface.cpp index 62bc9fe0..04aae461 100644 --- a/src/backend/BackendInterface.cpp +++ b/src/backend/BackendInterface.cpp @@ -182,10 +182,10 @@ BackendInterface::fetchBookOffers( << offerDir.has_value() << " breaking"; break; } + uTipIndex = offerDir->key; while (keys.size() < limit) { ++numPages; - uTipIndex = offerDir->key; ripple::STLedgerEntry sle{ ripple::SerialIter{ offerDir->blob.data(), offerDir->blob.size()},