From 66021ab284bfc235e7e0e6b3819158e873220ea2 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sat, 8 Dec 2012 19:12:29 -0800 Subject: [PATCH] Don't lose the thread head when a threaded node (like an offer or contract) is deleted. --- src/cpp/ripple/FieldNames.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpp/ripple/FieldNames.cpp b/src/cpp/ripple/FieldNames.cpp index 0d7617ae41..590f85d6b0 100644 --- a/src/cpp/ripple/FieldNames.cpp +++ b/src/cpp/ripple/FieldNames.cpp @@ -33,8 +33,8 @@ static int initFields() sfSignature.notSigningField(); sfIndexes.setMeta(SField::sMD_Never); - sfPreviousTxnID.setMeta(SField::sMD_Never); - sfPreviousTxnLgrSeq.setMeta(SField::sMD_Never); + sfPreviousTxnID.setMeta(SField::sMD_DeleteFinal); + sfPreviousTxnLgrSeq.setMeta(SField::sMD_DeleteFinal); sfLedgerEntryType.setMeta(SField::sMD_Never); sfRootIndex.setMeta(SField::sMD_Always);