mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
crash bug sfImportSequence
This commit is contained in:
@@ -1184,7 +1184,8 @@ Import::preclaim(PreclaimContext const& ctx)
|
||||
return tefINTERNAL;
|
||||
}
|
||||
|
||||
if (auto const& sle = ctx.view.read(keylet::account(ctx.tx[sfAccount])); sle)
|
||||
if (auto const& sle = ctx.view.read(keylet::account(ctx.tx[sfAccount]));
|
||||
sle && sle->isFieldPresent(sfImportSequence))
|
||||
{
|
||||
uint32_t sleImportSequence = sle->getFieldU32(sfImportSequence);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user