Skip to content

Commit

Permalink
add view updates for account SLEs (XRPLF#4629)
Browse files Browse the repository at this point in the history
Signed-off-by: Manoj Doshi <[email protected]>
  • Loading branch information
mvadari authored and manojsdoshi committed Aug 19, 2023
1 parent b14da06 commit a47480b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ripple/app/tx/impl/SetAccount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,8 @@ SetAccount::doApply()
if (uFlagsIn != uFlagsOut)
sle->setFieldU32(sfFlags, uFlagsOut);

ctx_.view().update(sle);

return tesSUCCESS;
}

Expand Down
2 changes: 2 additions & 0 deletions src/ripple/app/tx/impl/SetRegularKey.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ SetRegularKey::doApply()
sle->makeFieldAbsent(sfRegularKey);
}

ctx_.view().update(sle);

return tesSUCCESS;
}

Expand Down

0 comments on commit a47480b

Please sign in to comment.